Example 1
Rule (Fill Paths)
PolygonScale(PolygonCreateBox(0,0,20,30),2,5)
Result
{"0|0","40|0","40|150","0|150"}
The given box polygon is scaled by a factor of 2 along the X axis, and a factor of 5 along the Y axis.
Returns a copy of the given polygon scaled along the X and Y axes.
This function is intended to be used with the DriveWorks 3D Extrusion entity.
PolygonScale(Polygon,X,Y)
Where:
Polygon: The polygon to scale.
X: The X scale factor.
Y: The Y scale factor.
Rule (Fill Paths)
PolygonScale(PolygonCreateBox(0,0,20,30),2,5)
Result
{"0|0","40|0","40|150","0|150"}
The given box polygon is scaled by a factor of 2 along the X axis, and a factor of 5 along the Y axis.