[]
        
(Showing Draft Content)

C1.Util.DX.Size2F.Scale

Scale Method

Scale(Size2F, float)

Scales the width and height by the specified scaleFactor.

Declaration
public static Size2F Scale(Size2F sz, float scaleFactor)
Parameters
Type Name Description
Size2F sz
float scaleFactor
Returns
Type Description
Size2F

Scale(float)

Scales the width and height by the specified scaleFactor.

Declaration
public void Scale(float scaleFactor)
Parameters
Type Name Description
float scaleFactor

Scale(Size2F, float, float)

Scales the width and height by the specified scaleX and scaleY.

Declaration
public static Size2F Scale(Size2F sz, float scaleX, float scaleY)
Parameters
Type Name Description
Size2F sz
float scaleX
float scaleY
Returns
Type Description
Size2F

Scale(float, float)

Scales the width and height by the specified scaleX and scaleY.

Declaration
public void Scale(float scaleX, float scaleY)
Parameters
Type Name Description
float scaleX
float scaleY