Matrix2f.Scale(Single, Single) Method

Definition

Modifies the current matrix by post-multiplying it with a scale matrix of given dimensions

[Android.Runtime.Register("scale", "(FF)V", "GetScale_FFHandler")]
public virtual void Scale (float x, float y);
[<Android.Runtime.Register("scale", "(FF)V", "GetScale_FFHandler")>]
abstract member Scale : single * single -> unit
override this.Scale : single * single -> unit

Parameters

x
Single

scale component x

y
Single

scale component y

Attributes

Remarks

Modifies the current matrix by post-multiplying it with a scale matrix of given dimensions

Java documentation for android.renderscript.Matrix2f.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