Graphics Class よくわらかん
Graphics Class
The Graphics class exposes an easy to use API for generating vector drawing instructions and drawing them to a specified context. Note that you can use Graphics without any dependency on the EaselJS framework by calling draw directly, or it can be used with the Shape object to draw vector graphics within the context of an EaselJS display list.
Graphicsクラスは
There are two approaches to working with Graphics object: calling methods on a Graphics instance (the “Graphics API”), or instantiating Graphics command objects and adding them to the graphics queue via append. The former abstracts the latter, simplifying beginning and ending paths, fills, and strokes.
1 comment