[]
        
(Showing Draft Content)

C1.Util.DX.Point2F.Scale

Scale Method

Scale(Point2F, float)

Scales X and Y coordinates of a point by the specified scaleFactor.

Declaration
public static Point2F Scale(Point2F pt, float scaleFactor)
Public Shared Function Scale(pt As Point2F, scaleFactor As Single) As Point2F
Parameters
Type Name Description
Point2F pt
float scaleFactor
Returns
Type Description
Point2F

Scale(float)

Scales X and Y coordinates of a point by the specified scaleFactor.

Declaration
public void Scale(float scaleFactor)
Public Sub Scale(scaleFactor As Single)
Parameters
Type Name Description
float scaleFactor

Scale(Point2F, float, float)

Scales X and Y coordinates of a point by the specified scaleX and scaleY.

Declaration
public static Point2F Scale(Point2F pt, float scaleX, float scaleY)
Public Shared Function Scale(pt As Point2F, scaleX As Single, scaleY As Single) As Point2F
Parameters
Type Name Description
Point2F pt
float scaleX
float scaleY
Returns
Type Description
Point2F

Scale(float, float)

Scales X and Y coordinates of a point by the specified scaleX and scaleY.

Declaration
public void Scale(float scaleX, float scaleY)
Public Sub Scale(scaleX As Single, scaleY As Single)
Parameters
Type Name Description
float scaleX
float scaleY