Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 1.24 KB

File metadata and controls

47 lines (37 loc) · 1.24 KB

GetTexBFeatureEnd

Description

Procedure GetTexBFeatureEnd returns the "feature endpoint" of the referenced texture bitmap. The point is expressed in pixels from the top left corner of the bitmap.

PROCEDURE GetTexBFeatureEnd(
				textureBitmap   : HANDLE;
				VAR featureEndX : INTEGER;
				VAR featureEndY : INTEGER);
def vs.GetTexBFeatureEnd(textureBitmap):
    return (featureEndX, featureEndY)

Parameters

Name Type Description
textureBitmap HANDLE Handle to texture bitmap.
featureEndX INTEGER Returns X coordinate of feature end point.
featureEndY INTEGER Returns Y coordinate of feature end point.

Remarks

X and y are in paint node pixels from top left

Examples

GetTexBFeatureEnd(textureBitmap, 1, 2);
import vs

# Procedure GetTexBFeatureEnd returns the "feature endpoint" of the
# referenced texture bitmap.
textureBitmap = vs.FSActLayer()  # handle to the first selected object on the active layer

featureEndX, featureEndY = vs.GetTexBFeatureEnd(textureBitmap)
vs.Message('GetTexBFeatureEnd returned: ' + str((featureEndX, featureEndY)))

Version

Availability: from VectorWorks8.0

Category