Skip to content

Latest commit

 

History

History
48 lines (38 loc) · 1.23 KB

File metadata and controls

48 lines (38 loc) · 1.23 KB

SetTexBFeatureEnd

Description

Procedure SetTexBFeatureEnd sets the "feature endpoint" of the referenced texture bitmap. Parameters featureEndX and featureEndY specify the end point. The point is expressed in pixels from the top left corner of the bitmap.

PROCEDURE SetTexBFeatureEnd(
				textureBitmap : HANDLE;
				featureEndX   : INTEGER;
				featureEndY   : INTEGER);
def vs.SetTexBFeatureEnd(textureBitmap, featureEndX, featureEndY):
    return None

Parameters

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

Remarks

X and y are in paint node pixels from top left

Examples

SetTexBFeatureEnd(textureBitmap, 1, 2);
import vs

# Procedure SetTexBFeatureEnd sets the "feature endpoint" of the
# referenced texture bitmap.
textureBitmap = vs.FSActLayer()  # handle to the first selected object on the active layer
featureEndX = 1
featureEndY = 2

vs.SetTexBFeatureEnd(textureBitmap, featureEndX, featureEndY)

Version

Availability: from VectorWorks8.0

Category