Shape.Resize(Single, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.