Path.ComputeBounds(RectF, Boolean) Method

Definition

Compute the bounds of the control points of the path, and write the answer into bounds.

[Android.Runtime.Register("computeBounds", "(Landroid/graphics/RectF;Z)V", "GetComputeBounds_Landroid_graphics_RectF_ZHandler")]
public virtual void ComputeBounds (Android.Graphics.RectF bounds, bool exact);
[<Android.Runtime.Register("computeBounds", "(Landroid/graphics/RectF;Z)V", "GetComputeBounds_Landroid_graphics_RectF_ZHandler")>]
abstract member ComputeBounds : Android.Graphics.RectF * bool -> unit
override this.ComputeBounds : Android.Graphics.RectF * bool -> unit

Parameters

bounds
RectF

Returns the computed bounds of the path's control points.

exact
Boolean

This parameter is no longer used.

Attributes

Remarks

Compute the bounds of the control points of the path, and write the answer into bounds. If the path contains 0 or 1 points, the bounds is set to (0,0,0,0)

Java documentation for android.graphics.Path.computeBounds(android.graphics.RectF, boolean).

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