VS:CreatePaintFromImgN: Difference between revisions

From Vectorworks Developer
Jump to navigation Jump to search
m (1 revision)
 
(No difference)

Latest revision as of 14:25, 12 August 2013

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

Description

Creates a paint node from an image resource on the specified location and rotation.

FUNCTION CreatePaintFromImgN(
image :HANDLE;
locPt :REAL;
rotDeg :REAL) : HANDLE;
def vs.CreatePaintFromImgN(image, locPt, rotDeg):
    return HANDLE

Parameters

image HANDLE Handle to the image resource from which a paint node is to be created.
locPt REAL Location of the new paint node.
rotDeg REAL Rotation of the paint node in degrees.

Remarks

Orso [2012.11.27]: A Bitmap (paint) object is created on drawing.

Version

Availability: from Vectorworks 2011