Class

Polygon

Extends:

There's no documentation for this item.

Public Methods
new Draws a polygon. The arguments are [x, y] pairs that define the points that make up the polygon. At least two points must be specified. If the last point is not the same as the first, adds an additional point to close the polygon. Use the RVG::ShapeConstructors#polygon method to create Polygon objects in a container.
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.