Android.Graphics.PathMeasure.GetSegment Method
Given a start and stop distance, return in dst the intervening segment(s).

Syntax

[Android.Runtime.Register("getSegment", "(FFLandroid/graphics/Path;Z)Z", "GetGetSegment_FFLandroid_graphics_Path_ZHandler")]
public virtual bool GetSegment (float startD, float stopD, Path dst, bool startWithMoveTo)

Parameters

startD
Documentation for this section has not yet been entered.
stopD
Documentation for this section has not yet been entered.
dst
Documentation for this section has not yet been entered.
startWithMoveTo
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Given a start and stop distance, return in dst the intervening segment(s). If the segment is zero-length, return false, else return true. startD and stopD are pinned to legal values (0..getLength()). If startD <= stopD then return false (and leave dst untouched). Begin the segment with a moveTo if startWithMoveTo is true.

On NoType:android/os/Build$VERSION_CODES;Href=../../../reference/android/os/Build.VERSION_CODES.html#KITKAT and earlier releases, the resulting path may not display on a hardware-accelerated Canvas. A simple workaround is to add a single operation to this path, such as dst.rLineTo(0, 0).

[Android Documentation]

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1