VS:HScale2D: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
No edit summary |
||
Line 55: | Line 55: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<remark></remark> | <remark> | ||
If (scaleX = -1) or (scaleY = -1) the object will be mirrored. | |||
If used on an extrude, the 2D shape inside the extrude will be scaled. The scaling will follow the 2D shape's working plane. | |||
[Ptr 07/17/2019] | |||
</remark> | |||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
Latest revision as of 07:17, 17 July 2019
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Scales a 2D object.
PROCEDURE HScale2D(
h :HANDLE;
centerX :REAL;
centerY :REAL;
scaleX :REAL;
scaleY :REAL;
scaleText :BOOLEAN);
def vs.HScale2D(h, centerX, centerY, scaleX, scaleY, scaleText): return None
Parameters
h HANDLE centerX REAL centerY REAL scaleX REAL scaleY REAL scaleText BOOLEAN
Remarks
If (scaleX = -1) or (scaleY = -1) the object will be mirrored.
If used on an extrude, the 2D shape inside the extrude will be scaled. The scaling will follow the 2D shape's working plane.
[Ptr 07/17/2019]
Version
Availability: from Vectorworks 2014