The GraphicsEnvironment class holds the graphics object and a set of colors. It also contains the width and height.
graphicsenvironment类中保存了图形对象和一组颜色,还包括宽度和高度。
If you do not do this, then the XORComposite will be left in the graphics object and it will affect all subsequent drawing.
如果您没有这样做,则XORComposite将会被保留在图形对象中,并且会影响到随后的所有绘图操作。
It is good practice when manipulating properties of the graphics object to restore them to the original values when finished.
在操作图形对象的属性时,在完成之后将这些属性恢复成原来的值是一种很好的做法。
This graphics object can be used to do vector drawing on the Sprite. For example, see the code to draw a circle of radius 5.
这个图片对象可被用来在sprite上进行矢量作图。
But why stop there? SVG also has tags that you can use to animate these properties, so you can move a graphics object along a path or fade it in or out.
不仅如此,SVG的标记还可用于动态改变这些属性,因此可以沿着路径移动图形对象或者实现淡入淡出效果。
Shows how to manage graphics object state and nested graphics containers.
示范如何管理图形物件状态和巢状图形容器。
The version composition of graphics object is one of the key techniques under circumstances of mobile or asynchronous collaborative design.
图形对象的版本合成是移动环境下或异步协同设计的关键技术之一。
Components are still rendered by calling their paint method, which takes a Graphics object.
组件的着色还是通过调用它们的paint方法,它使用一个Graphics对象。
Components are still rendered by calling their paint method, which takes a Graphics object.
组件的着色还是通过调用它们的paint方法,它使用一个Graphics对象。
应用推荐