Udostępnij za pośrednictwem


Matrix.PreScale Method

Definition

Overloads

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
sy
Single

Returns

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
sy
Single
px
Single
py
Single

Returns

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