Compartilhar via


Shape.Resize(Single, Single) Method

Definition

Resizes the dimensions of this shape.

[Android.Runtime.Register("resize", "(FF)V", "")]
public void Resize (float width, float height);
[<Android.Runtime.Register("resize", "(FF)V", "")>]
member this.Resize : single * single -> unit

Parameters

width
Single

the width of the shape (in pixels)

height
Single

the height of the shape (in pixels)

Attributes

Remarks

Resizes the dimensions of this shape.

Must be called before #draw(Canvas,Paint).

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