Returns information about one of the region's anchor points. Signature: Code point, relativeTo, relativePoint, xOffset, yOffset = Region:GetPoint(index)
Arguments: - index - Index of an anchor point defined for the region (between 1 and region: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 between point and relativePoint (in pixels; positive values put point to the right of relativePoint) (number)
- yOffset - Vertical distance between point and relativePoint (in pixels; positive values put point below relativePoint) (number)
Также смотрите: Область
Ссылки: http://wowprogramming.com/docs/widgets/Region/GetPoint
|