Procedure SetTexBitmapOrigin sets the origin of the bitmap applied to the referenced texture bitmap. The origin is measured in pixels, with the top left corner as (0,0).
PROCEDURE SetTexBitmapOrigin(
textureBitmap : HANDLE;
originX : INTEGER;
originY : INTEGER);def vs.SetTexBitmapOrigin(textureBitmap, originX, originY):
return None| Name | Type | Description |
|---|---|---|
| textureBitmap | HANDLE | Handle to texture bitmap. |
| originX | INTEGER | X coordinate of bitmap origin. |
| originY | INTEGER | Y coordinate of bitmap origin. |
Origin x and y are in pixels from paint node top left
SetTexBitmapOrigin(textureBitmap, 1, 2);import vs
# Procedure SetTexBitmapOrigin sets the origin of the bitmap applied to the
# referenced texture bitmap.
textureBitmap = vs.FSActLayer() # handle to the first selected object on the active layer
originX = 1
originY = 2
vs.SetTexBitmapOrigin(textureBitmap, originX, originY)SetTexBitmapOrigin is obsolete as of VectorWorks9.0
Availability: from VectorWorks8.0