Difference between revisions of "Region"

From Cheat Engine
Jump to navigation Jump to search
m (Reverted edits by This content is not available (Talk) to last revision by TheyCallMeTim13)
 
Line 1: Line 1:
<span style="font-size:25px;color:red">Sorry! Content not available.</span>
+
[[Category:Lua]]
 +
Region '''class''': ('''Inheritance''': ''[[GraphicsObject]]'')
 +
 
 +
Class describing a region of coordinates.
 +
 
 +
== Creation ==
 +
:; [[createRegion]]() &#58; 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 ==
 +
* [[Lua]]
 +
* [[Help_File:Script engine|Script engine]]
 +
 
 +
=== Related Functions ===
 +
* [[createRegion]]
 +
 
 +
=== Related Classes ===
 +
* [[GraphicsObject]]
 +
* [[Object]]
 +
* [[Control]]
 +
* [[Component]]
 +
* [[WinControl]]
 +
* [[Application]]
 +
* [[Form]]

Latest revision as of 19:08, 18 March 2019

Region class: (Inheritance: GraphicsObject)

Class describing a region of coordinates.

Creation[edit]

createRegion() : Region
Creates an empty region.

Methods[edit]

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[edit]

Related Functions[edit]

Related Classes[edit]