VS:GetFillIAxisEndPoint

From Vectorworks Developer
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix


Description

Gets the I-axis end point of the fill.

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

PROCEDURE GetFillIAxisEndPoint(
objectHandle  :HANDLE;
VAR xIAxisEndPoint  :REAL;
VAR yIAxisEndPoint  :REAL);
def vs.GetFillIAxisEndPoint(objectHandle):
    return (xIAxisEndPoint, yIAxisEndPoint)

Parameters

objectHandle HANDLE Handle to the object with fill.
xIAxisEndPoint REAL X coordinate of I-axis point.
yIAxisEndPoint REAL Y coordinate of I-axis point.

Example

VectorScript

GetFillIAxisEndPoint(objectHandle, xIAxis, yIAxis);

Python

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

Version

Availability: from VectorWorks10.0
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox