public final 类 PolygonOptions扩展 Object
实现 Parcelable
实现 Parcelable
继承的常量摘要
公共构造函数摘要
PolygonOptions()
用于创建多边形选项。
|
公共方法摘要
继承的方法摘要
公共构造函数
public PolygonOptions ()
用于创建多边形选项。
公共方法
public PolygonOptions add (LatLng... 点)
public PolygonOptions addAll (Iterable<LatLng> points)
public PolygonOptions addHole (Iterable<LatLng> points)
public PolygonOptions clickable (布尔值可点击)
public PolygonOptions fillColor (int color)
public PolygonOptions geodesic (boolean geodesic)
public int getStrokeJointType ()
获取在此 PolygonOptions
对象中为多边形轮廓的所有顶点设置的描边连接类型。如需了解可能的值,请参阅 JointType
。
返回
- 多边形轮廓的描边连接类型。
public boolean isGeodesic ()
获取该 PolygonOptions
对象的测地设置。
返回
- 如果多边形线段应为测地线段,则为
true
;如果不应为测地线段,则为false
。
public PolygonOptions strokeColor (int color)
public PolygonOptions strokeJointType (int jointType)
参数
jointType |
---|
返回
- 此
PolygonOptions
对象(设置了新的描边连接类型)。