公用最終類別
PolygonOptions
擴充物件
導入 Parcelable
導入 Parcelable
繼承常數摘要
公用建構函式摘要
PolygonOptions()
建立多邊形選項。
|
公用方法摘要
繼承方法摘要
公用建構函式
public PolygonOptions ()
建立多邊形選項。
公用方法
public PolygonOptions add (LatLng... Point)
public PolygonOptions addAll (Iterable<LatLng> 點)
public PolygonOptions addHole (Iterable<LatLng> 點)
public PolygonOptions clickable (布林值可點擊)
public PolygonOptions fillColor (int color)
public PolygonOptions geodesic (boolean geodesic)
public int getStrokeJointType ()
取得這個 PolygonOptions
物件中,多邊形輪廓的所有頂點設定的筆劃連接類型。如要查看可能的值,請參閱 JointType
。
傳回
- 多邊形輪廓的筆劃連接類型。
public PolygonOptions strokeColor (int color)
public PolygonOptions strokeJointType (int jointType)
參數
jointType |
---|
傳回
- 這個
PolygonOptions
物件,且已設定新的筆劃連接類型。
public PolygonOptions strokePattern (List<PatternItem> 模式)
公用 PolygonOptions strokeWidth (浮點寬度)
public PolygonOptions visible (boolean visible)
公開 PolygonOptions zIndex (float zIndex)
指定多邊形的 zIndex,也就是繪製的順序。如要進一步瞭解 zIndex,請參閱這個類別頂端的說明文件。
參數
zIndex |
---|
傳回
- 這個
PolygonOptions
物件和新的 zIndex 集組合。