Udostępnij za pośrednictwem


PathIterator.Segment.GetPoints Method

Definition

The point data for this segment.

[Android.Runtime.Register("getPoints", "()[F", "GetGetPointsHandler", ApiSince=34)]
public virtual float[] GetPoints ();
[<Android.Runtime.Register("getPoints", "()[F", "GetGetPointsHandler", ApiSince=34)>]
abstract member GetPoints : unit -> single[]
override this.GetPoints : unit -> single[]

Returns

Single[]

the point data for this segment

Attributes

Remarks

The point data for this segment.

Each two floats represent the data for a single point of that operation. The number of pairs of floats supplied in the resulting array depends on the verb: <ul> <li>#VERB_MOVE: 1 pair (indices 0 to 1)</li> <li>#VERB_LINE: 2 pairs (indices 0 to 3)</li> <li>#VERB_QUAD: 3 pairs (indices 0 to 5)</li> <li>#VERB_CONIC: 4 pairs (indices 0 to 7), the last pair contains the conic weight twice</li> <li>#VERB_CUBIC: 4 pairs (indices 0 to 7)</li> <li>#VERB_CLOSE: 0 pairs</li> <li>#VERB_DONE: 0 pairs</li> </ul>

Java documentation for android.graphics.PathIterator.Segment.getPoints().

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