Difference between revisions of "Region"

From Cheat Engine
Jump to navigation Jump to search
Line 1: Line 1:
'''Region Class''': (Inheritance: [[GraphicsObject]]->[[Object]]
+
Region '''class''': ('''Inheritance''': ''[[GraphicsObject]]'')
Class describing a region of coordinates
 
  
 +
Class describing a region of coordinates.
  
createRegion(): Creates an empty region
+
== Creation ==
 +
:; [[createRegion]]() : Region
 +
:: 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)
  
===Methods===
+
== See also ==
  addRectangle(x1, y1, x2, y2): Adds a rectangle to the region
+
* [[Lua]]
  addPolygon(tablewithcoordinates): Adds an array of 2D locations. (example : {{0,0},{100,100}, {0,100}} for a triangle )
+
* [[Help_File:Script engine|Script engine]]
 +
 
 +
=== Related Functions ===
 +
* [[createRegion]]
 +
 
 +
=== Related Classes ===
 +
* [[GraphicsObject]]
 +
* [[Object]]
 +
* [[Control]]
 +
* [[Component]]
 +
* [[WinControl]]
 +
* [[Application]]
 +
* [[Form]]

Revision as of 02:52, 11 March 2017

Region class: (Inheritance: GraphicsObject)

Class describing a region of coordinates.

Creation

createRegion() : Region
Creates an empty region.

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)

See also

Related Functions

Related Classes