Scale Method
Scale(RectF, float)
Scales all coordinates of a rectangle by the specified scaleFactor.
Declaration
public static RectF Scale(RectF rc, float scaleFactor)
Public Shared Function Scale(rc As RectF, scaleFactor As Single) As RectF
Parameters
Returns
Scale(float)
Scales all coordinates of a rectangle by the specified scaleFactor.
Declaration
public void Scale(float scaleFactor)
Public Sub Scale(scaleFactor As Single)
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)
Public Shared Function Scale(rc As RectF, scaleX As Single, scaleY As Single) As RectF
Parameters
Returns
Scale(float, float)
Scales all coordinates of a rectangle by the specified scaleX and scaleY.
Declaration
public void Scale(float scaleX, float scaleY)
Public Sub Scale(scaleX As Single, scaleY As Single)
Parameters