Class Region

Inheritance

GraphicsObject Region 🡄 GraphicsObject 🡄 Object

Methods

addPolygon ( tablewithcoordinates ) Adds an array of 2D locations.
addRectangle ( x1, y1, x2, y2 ) Adds a rectangle to the region.

Related Functions

createRegion () Create an empty region.


Inheritance

GraphicsObject
Region 🡄 GraphicsObject 🡄 Object

Methods

addPolygon ( tablewithcoordinates )
Adds an array of 2D locations.

example : {{0,0},{100,100}, {0,100}} for a triangle

Parameters:

  • tablewithcoordinates
addRectangle ( x1, y1, x2, y2 )
Adds a rectangle to the region.

Parameters:

  • x1
  • y1
  • x2
  • y2

Related Functions

createRegion ()
Create an empty region.

See also:

generated by LDoc 1.4.6-antum-dev-1 Last updated 2019-02-27 23:30:35