Skip to content

Latest commit

 

History

History
48 lines (38 loc) · 1.2 KB

File metadata and controls

48 lines (38 loc) · 1.2 KB

SetTexBFeatureStart

Description

Procedure SetTexBFeatureStart sets the "feature startpoint" of the referenced texture bitmap. The point is expressed in pixels from the top left corner of the bitmap.

PROCEDURE SetTexBFeatureStart(
				textureBitmap : HANDLE;
				featureStartX : INTEGER;
				featureStartY : INTEGER);
def vs.SetTexBFeatureStart(textureBitmap, featureStartX, featureStartY):
    return None

Parameters

Name Type Description
textureBitmap HANDLE Handle to texture bitmap.
featureStartX INTEGER X coordinate of feature start point.
featureStartY INTEGER Y coordinate of feature start point.

Remarks

X and y are in paint node pixels from top left

Examples

SetTexBFeatureStart(textureBitmap, 1, 2);
import vs

# Procedure SetTexBFeatureStart sets the "feature startpoint" of
# the referenced texture bitmap.
textureBitmap = vs.FSActLayer()  # handle to the first selected object on the active layer
featureStartX = 1
featureStartY = 2

vs.SetTexBFeatureStart(textureBitmap, featureStartX, featureStartY)

Version

Availability: from VectorWorks8.0

Category