public final class PolygonOptions
extends java.lang.Object
implements android.os.Parcelable
修飾子とタイプ | フィールドと説明 |
---|---|
static android.os.Parcelable.Creator<PolygonOptions> |
CREATOR |
コンストラクタと説明 |
---|
PolygonOptions() |
修飾子とタイプ | メソッドと説明 |
---|---|
PolygonOptions |
add(LatLng... points)
ポリゴンのアウトラインに頂点を追加する。
|
PolygonOptions |
add(LatLng point)
ポリゴンのアウトラインに頂点を追加する。
|
PolygonOptions |
addAll(java.lang.Iterable<LatLng> points)
ポリゴンのアウトラインに頂点を追加する。
|
PolygonOptions |
addHole(java.lang.Iterable<LatLng> points)
ポリゴンに内側ポリゴンを追加する。
|
PolygonOptions |
clickable(boolean clickable)
ポリゴンのクリック可否を指定する。
|
int |
describeContents() |
PolygonOptions |
fillColor(int color)
ポリゴンの塗りつぶし色を指定する。
|
int |
getFillColor()
ポリゴンの塗りつぶし色を取得する。
|
java.util.List<java.util.List<LatLng>> |
getHoles()
ポリゴンの内側ポリゴンを取得する。
|
java.util.List<LatLng> |
getPoints()
ポリゴンのアウトラインを取得する。
|
int |
getStrokeColor()
ポリゴンの線色を取得する。
|
float |
getStrokeWidth()
ポリゴンの線幅を取得する。
|
int |
getZIndex()
ポリゴンのzIndexを取得する。
|
boolean |
isClickable()
ポリゴンのクリック可否を取得する。
|
boolean |
isVisible()
ポリゴンの可視性設定を取得する。
|
PolygonOptions |
strokeColor(int color)
ポリゴンの線色を設定する。
|
PolygonOptions |
strokeWidth(float width)
ポリゴンの線幅を設定する。
|
PolygonOptions |
visible(boolean visible)
ポリゴンの可視性を設定する。
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
PolygonOptions |
zIndex(int zIndex)
ポリゴンのzIndex(描画される順序)を設定する。
|
public static final android.os.Parcelable.Creator<PolygonOptions> CREATOR
public int describeContents()
describeContents
インタフェース内 android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
インタフェース内 android.os.Parcelable
public PolygonOptions add(LatLng point)
point
- 頂点public PolygonOptions add(LatLng... points)
points
- 頂点public PolygonOptions addAll(java.lang.Iterable<LatLng> points)
points
- 頂点public PolygonOptions addHole(java.lang.Iterable<LatLng> points)
points
- 内側ポリゴンpublic PolygonOptions clickable(boolean clickable)
clickable
- true
可; false
不可public PolygonOptions fillColor(int color)
color
- 色(ARGB32bit)public int getFillColor()
public java.util.List<java.util.List<LatLng>> getHoles()
public java.util.List<LatLng> getPoints()
public int getStrokeColor()
public float getStrokeWidth()
public int getZIndex()
public boolean isClickable()
true
可; false
不可public boolean isVisible()
true
表示; false
非表示public PolygonOptions strokeColor(int color)
color
- 色(ARGB32bit)public PolygonOptions strokeWidth(float width)
10
。width
- 線幅public PolygonOptions visible(boolean visible)
true
visible
- true
表示; false
非表示public PolygonOptions zIndex(int zIndex)
zIndex
- ポリラインのzIndex