Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 889 Bytes

File metadata and controls

41 lines (33 loc) · 889 Bytes

GetFillOriginPoint

Description

Gets the origin point of the fill.

Note: only works with 2D objects that have a gradient or image fill.

PROCEDURE GetFillOriginPoint(
				objectHandle     : HANDLE;
				VAR xOriginPoint : REAL;
				VAR yOriginPoint : REAL);
def vs.GetFillOriginPoint(objectHandle):
    return (xOriginPoint, yOriginPoint)

Parameters

Name Type Description
objectHandle HANDLE Handle to the object with fill.
xOriginPoint REAL X coordinate of origin point.
yOriginPoint REAL Y coordinate of origin point.

Examples

VectorScript

GetFillOriginPoint(objectHandle, xOrigin, yOrigin);

Python

xIAxis, yIAxis = vs.GetFillOriginPoint(vs.FSActLayer())

Version

Availability: from VectorWorks10.0

Category