ImageGear for .NET
Scale Method (ImGearVectorEntity)




X scale factor.
Y scale factor.
Z scale factor.
Flag that defines an order of transformation.
Scales the entity according to the specified scale vector.
Syntax
'Declaration
 
Public Sub Scale( _
   ByVal scaleX As Single, _
   ByVal scaleY As Single, _
   ByVal scaleZ As Single, _
   ByVal transformBeforeScaling As Boolean _
) 
'Usage
 
Dim instance As ImGearVectorEntity
Dim scaleX As Single
Dim scaleY As Single
Dim scaleZ As Single
Dim transformBeforeScaling As Boolean
 
instance.Scale(scaleX, scaleY, scaleZ, transformBeforeScaling)
public void Scale( 
   float scaleX,
   float scaleY,
   float scaleZ,
   bool transformBeforeScaling
)
public: void Scale( 
   float scaleX,
   float scaleY,
   float scaleZ,
   bool transformBeforeScaling
) 
public:
void Scale( 
   float scaleX,
   float scaleY,
   float scaleZ,
   bool transformBeforeScaling
) 

Parameters

scaleX
X scale factor.
scaleY
Y scale factor.
scaleZ
Z scale factor.
transformBeforeScaling
Flag that defines an order of transformation.
Remarks
If transformBeforeScaling parameter is true then scaling is performed before other transformations (that is, the current matrix is multiplied by the scale matrix). Otherwise, the scale matrix is multiplied by the current matrix.
See Also

Reference

ImGearVectorEntity Class
ImGearVectorEntity Members

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback