[]
        
(Showing Draft Content)

C1.Util.DX.RectF.Scale

Scale Method

Scale(RectF, float)

Scales all coordinates of a rectangle by the specified scaleFactor.

Declaration
public static RectF Scale(RectF rc, float scaleFactor)
Parameters
Type Name Description
RectF rc
float scaleFactor
Returns
Type Description
RectF

Scale(float)

Scales all coordinates of a rectangle by the specified scaleFactor.

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

Scale(RectF, float, float)

Scales all coordinates of a rectangle by the specified scaleX and scaleY.

Declaration
public static RectF Scale(RectF rc, float scaleX, float scaleY)
Parameters
Type Name Description
RectF rc
float scaleX
float scaleY
Returns
Type Description
RectF

Scale(float, float)

Scales all coordinates of a rectangle by the specified scaleX and scaleY.

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