Returns information about one of the region's anchor points
Signature:
point,
relativeTo,
relativePoint,
xOffset,
yOffset
=
Region:GetPoint(index)
Arguments:
index
- Index of an anchor point defined for the region (between1
andregion:
GetNumPoints()
) (number
)
Returns:
point
- Point on this region at which it is anchored to another (string
, anchorPoint)relativeTo
- Reference to the other region to which this region is anchored (region
)relativePoint
- Point on the other region to which this region is anchored (string
, anchorPoint)xOffset
- Horizontal distance betweenpoint
andrelativePoint
(in pixels; positive values putpoint
to the right ofrelativePoint
) (number
)yOffset
- Vertical distance betweenpoint
andrelativePoint
(in pixels; positive values putpoint
belowrelativePoint
) (number
)