[]
        
(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)
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)
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)
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)
Parameters
Type Name Description
float scaleX
float scaleY