Language

PathMeasure.SetPath(Path, Boolean) Method

Definition

Assign a new path, or null to have none.

[Android.Runtime.Register("setPath", "(Landroid/graphics/Path;Z)V", "GetSetPath_Landroid_graphics_Path_ZHandler")]
public virtual void SetPath(Android.Graphics.Path? path, bool forceClosed);
[<Android.Runtime.Register("setPath", "(Landroid/graphics/Path;Z)V", "GetSetPath_Landroid_graphics_Path_ZHandler")>]
abstract member SetPath : Android.Graphics.Path * bool -> unit
override this.SetPath : Android.Graphics.Path * bool -> unit

Parameters

path
Path

The path to measure, or null to clear the association.

forceClosed
Boolean

Whether to measure contours as closed even without an explicit closing segment.

Attributes

Remarks

Assign a new path, or null to have none.

Java documentation for android.graphics.PathMeasure.setPath(android.graphics.Path, 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