PathIterator.Segment.GetPoints 方法

定義

本段的點數資料。

[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[]

傳回

Single[]

本段點數資料

屬性

備註

本段的點數資料。

每個浮點數代表該操作中某一點的資料。 結果陣列中提供的浮點數對取決於動詞:<ul><li#VERB_MOVE>: 1對(指標0到1)</li><li#VERB_LINE>: 2對(指標0到3)</li><li#VERB_QUAD>:3對(指標0到5)</li><li>#VERB_CONIC:4對(指標0到7),最後一對包含兩次<圓錐權重/li<>li:>#VERB_CUBIC 4對(指標0至7)</李><李>#VERB_CLOSE:0對</李<>李:0對</李></ul>#VERB_DONE>

Java 文件 android.graphics.PathIterator.Segment.getPoints()

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於