Language

Matrix.PreScale Method

Definition

Overloads

Name Description
PreScale(Single, Single)

Preconcats the matrix with the specified scale.

PreScale(Single, Single, Single, Single)

Preconcats the matrix with the specified scale.

PreScale(Single, Single)

Preconcats the matrix with the specified scale.

[Android.Runtime.Register("preScale", "(FF)Z", "GetPreScale_FFHandler")]
public virtual bool PreScale(float sx, float sy);
[<Android.Runtime.Register("preScale", "(FF)Z", "GetPreScale_FFHandler")>]
abstract member PreScale : single * single -> bool
override this.PreScale : single * single -> bool

Parameters

sx
Single

The horizontal scale factor.

sy
Single

The vertical scale factor.

Returns

The Android 16 base implementation returns true after normal completion.

Attributes

Remarks

Preconcats the matrix with the specified scale. M' = M * S(sx, sy)

Java documentation for android.graphics.Matrix.preScale(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

PreScale(Single, Single, Single, Single)

Preconcats the matrix with the specified scale.

[Android.Runtime.Register("preScale", "(FFFF)Z", "GetPreScale_FFFFHandler")]
public virtual bool PreScale(float sx, float sy, float px, float py);
[<Android.Runtime.Register("preScale", "(FFFF)Z", "GetPreScale_FFFFHandler")>]
abstract member PreScale : single * single * single * single -> bool
override this.PreScale : single * single * single * single -> bool

Parameters

sx
Single

The horizontal scale factor.

sy
Single

The vertical scale factor.

px
Single

The horizontal coordinate of the scale pivot.

py
Single

The vertical coordinate of the scale pivot.

Returns

The Android 16 base implementation returns true after normal completion.

Attributes

Remarks

Preconcats the matrix with the specified scale. M' = M * S(sx, sy, px, py)

Java documentation for android.graphics.Matrix.preScale(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.

Applies to