Difference between revisions of "Region"
Jump to navigation
Jump to search
(Created page with ''''Region Class''': (Inheritance: Component->Object) Class describing a region of coordinates createRegion(): Creates an empty region ===Properties=== ===Methods=== …') |
|||
Line 1: | Line 1: | ||
− | '''Region Class''': (Inheritance: [[ | + | '''Region Class''': (Inheritance: [[GraphicsObject]]->[[Object]] |
Class describing a region of coordinates | Class describing a region of coordinates | ||
Revision as of 11:48, 23 February 2015
Region Class: (Inheritance: GraphicsObject->Object Class describing a region of coordinates
createRegion(): Creates an empty region
Properties
Methods
addRectangle(x1, y1, x2, y2): Adds a rectangle to the region addPolygon(tablewithcoordinates): Adds an array of 2D locations. (example : {{0,0},{100,100}, {0,100}} for a triangle )