Gets the J-axis end point of the fill.
Note: only works with 2D objects that have a gradient or image fill.
PROCEDURE GetFillJAxisEndPoint(
objectHandle : HANDLE;
VAR xJAxisEndPoint : REAL;
VAR yJAxisEndPoint : REAL);def vs.GetFillJAxisEndPoint(objectHandle):
return (xJAxisEndPoint, yJAxisEndPoint)| Name | Type | Description |
|---|---|---|
| objectHandle | HANDLE | Handle to the object with fill. |
| xJAxisEndPoint | REAL | X coordinate of J-axis point. |
| yJAxisEndPoint | REAL | Y coordinate of J-axis point. |
GetFillJAxisEndPoint(objectHandle, xJAxis, yJAxis);xIAxis, yIAxis = vs.GetFillJAxisEndPoint(vs.FSActLayer())GetFillJAxisEndPoint(objectHandle, 1.0, 2.0);import vs
# Gets the J-axis end point of the fill.
objectHandle = vs.FSActLayer() # handle to the first selected object on the active layer
xJAxisEndPoint, yJAxisEndPoint = vs.GetFillJAxisEndPoint(objectHandle)
vs.Message('GetFillJAxisEndPoint returned: ' + str((xJAxisEndPoint, yJAxisEndPoint)))Availability: from VectorWorks10.0