Canvas.Scale Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Scale(Single, Single) |
Preconcat the current matrix with the specified scale. |
Scale(Single, Single, Single, Single) |
Preconcat the current matrix with the specified scale. |
Scale(Single, Single)
Preconcat the current matrix with the specified scale.
[Android.Runtime.Register("scale", "(FF)V", "GetScale_FFHandler")]
public virtual void Scale (float sx, float sy);
[<Android.Runtime.Register("scale", "(FF)V", "GetScale_FFHandler")>]
abstract member Scale : single * single -> unit
override this.Scale : single * single -> unit
Parameters
- sx
- Single
The amount to scale in X
- sy
- Single
The amount to scale in Y
- Attributes
Remarks
Preconcat the current matrix with the specified scale.
Java documentation for android.graphics.Canvas.scale(float, float)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
Scale(Single, Single, Single, Single)
Preconcat the current matrix with the specified scale.
[Android.Runtime.Register("scale", "(FFFF)V", "")]
public void Scale (float sx, float sy, float px, float py);
[<Android.Runtime.Register("scale", "(FFFF)V", "")>]
member this.Scale : single * single * single * single -> unit
Parameters
- sx
- Single
The amount to scale in X
- sy
- Single
The amount to scale in Y
- px
- Single
The x-coord for the pivot point (unchanged by the scale)
- py
- Single
The y-coord for the pivot point (unchanged by the scale)
- Attributes
Remarks
Preconcat the current matrix with the specified scale.
Java documentation for android.graphics.Canvas.scale(float, float, float, float)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.