Region
Jump to navigation
Jump to search
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 )