Android Guides | Samples

Android.Graphics.PathMeasure Class

See Also: PathMeasure

Syntax

[Android.Runtime.Register("android/graphics/PathMeasure", DoNotGenerateAcw=true)]
public class PathMeasure : Object

Remarks

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Graphics.PathMeasure are listed below.

See Also: Object

Public Constructors

Create an empty PathMeasure object.
Create a PathMeasure object associated with the specified path object (already created and specified).

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
IsClosedBoolean. Return true if the current contour is closed()
[read-only]
LengthSingle. Return the total length of the current contour, or 0 if no path is associated with this measure object.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

GetMatrix(Single, Matrix, MatrixFlags) : Boolean
Pins distance to 0 <= distance <= getLength(), and then computes the corresponding matrix.
GetPosTan(Single, Single[], Single[]) : Boolean
Pins distance to 0 <= distance <= getLength(), and then computes the corresponding position and tangent.
GetSegment(Single, Single, Path, Boolean) : Boolean
Given a start and stop distance, return in dst the intervening segment(s).
NextContour() : Boolean
Move to the next contour in the path.
SetPath(Path, Boolean)
Assign a new path, or null to have none.