VS:GetFillOriginPoint

From Vectorworks Developer
Revision as of 10:30, 12 August 2013 by Root (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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


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

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

Example

VectorScript

GetFillOriginPoint(objectHandle, xOrigin, yOrigin);

Python

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

Version

Availability: from VectorWorks10.0
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox