TypeLibF Xojo Plugin

PolygonF.Scale Method

Scales the Polygon, pinning certain point.

Scale(
   dx as Double,
   dy as Double,
   pinPoint as Integer,
   mode as Integer)

Parameters

dx
The amount to scale it. Putting 2.0 here would make the Polygon 2x bigger in the x direction.
dy
The amount to scale it. Putting 2.0 here would make the Polygon 2x bigger in the y direction.
pinPoint
The point number in the polygon to pin. (The first point is number 1)
mode
A constant defining the pin mode.

0 - Pins in both directions
1 - Pins horizontally
2 - Pins vertically

Remarks

See Also

PolygonF Class