Polygon (pMapBase)
Description
建立多邊形物件。
Position
Geometry.js
Parameters
Parameter
|
Description
|
pMapBase
|
主地圖物件。
|
Properties
Property
|
Description
|
none
|
none
|
Methods
Method
|
Description
|
getExtent()
|
取得多邊形物件範圍。
|
getPoints()
|
取得多邊形節點
|
AddPoint(part, addpt)
|
新增多邊形物件節點。
|
InsertPoint(part, index, addpt)
|
插入多邊形物件節點。
|
MovePoint(part, index, ptPos)
|
移動多邊形節點。
|
RemovePoint(part, index)
|
移除多點形節點。
|
putFillColor(fillcolor)
|
設定多邊形物件的填滿顏色。
|
putNodeColor(nodecolor)
|
編輯狀態的節點顏色。
|
putTransparency(Transparency)
|
設定多邊形物件的透明度。
|
putLineColor(LineColor)
|
設定多邊形物件邊線顏色。
|
putLineWidth(LineWeight)
|
設定多邊形物件寬度。
|
ParseWKT (strPts)
|
解譯WKT。
|
WellKnownText()
|
WKT。
|
getArea()
|
取得多邊形物件面積。
|
Verify()
|
驗證多邊形合理性。
|
RebuildElement()
|
重新建立圖形物件。
|
UpdateElement()
|
更新圖形物件。
|
Editable(v)
|
設定節點是否為可編輯狀態。
|
Destroy()
|
關閉並摧毀多邊形物件。
|
©2015 Supergeo Technologies Inc.
|