Share via


Shape.OnResize(Single, Single) Method

Definition

Callback method called when #resize(float,float) is executed.

[Android.Runtime.Register("onResize", "(FF)V", "GetOnResize_FFHandler")]
protected virtual void OnResize (float width, float height);
[<Android.Runtime.Register("onResize", "(FF)V", "GetOnResize_FFHandler")>]
abstract member OnResize : single * single -> unit
override this.OnResize : single * single -> unit

Parameters

width
Single

the new width of the Shape

height
Single

the new height of the Shape

Attributes

Remarks

Callback method called when #resize(float,float) is executed.

Java documentation for android.graphics.drawable.shapes.Shape.onResize(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