v1.1
|
|
Fill area. More...
Public Member Functions | |
FillArea (Curve2D outerBoundary, table oInnerBoundaries) | |
Constructor. | |
self | Shift (number x, number y) |
Shifts the fill area. | |
self | Rotate (Point2D point, number angle) |
Rotates the fill area. | |
self | Scale (Point2D point, number xScale, number yScale) |
Scales the fill area relative to a fixed point. | |
self | Transform (Matrix2D matrix) |
Transforms according to the matrix. | |
FillArea | Clone () |
Returns a copy of the fill area. | |
table | GetInnerBoundaries () |
Returns the inner boundaries. | |
Curve2D | GetOuterBoundary () |
Returns the outer boundary. | |
boolean | operator== (FillArea other) |
Checks for equality. | |
boolean | operator~= (FillArea other) |
Checks for inequality. | |
Fill area.
The fill area is a closed two-dimensional space, which is bounded by one or more curves. The boundaries of fill area can't intersect themselves, but may touch each other.
Constructor.
outerBoundary | The outer boundary of the fill area. |
oInnerBoundaries | [opt] The set of curves, describing inner boundaries of fill area. |
self Rotate | ( | Point2D | point, |
number | angle ) |
Rotates the fill area.
point | Center of rotation. |
angle | The angle in radians. |