java.lang.Object | ||
↳ | org.neshan.vectorelements.Element | |
↳ | org.neshan.vectorelements.Polygon |
این کلاس برای کار با چندضلعی geometry میباشد.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Polygon(PolygonGeom geometry, PolygonStyle style)
Constructs a Polygon object from a geometry object and a style.
| |||||||||||
Polygon(LngLatVector poses, PolygonStyle style)
Constructs a Polygon object from a vector of map positions and a style.
| |||||||||||
Polygon(LngLatVector poses, LngLatVectorVector holes, PolygonStyle style)
با استفاده از برداری از نقاط روی نقشه، برداری از نقاط حفرهها و استایل مورد نظر یک شی از نوع Polygon میسازد.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
synchronized void | delete() | ||||||||||
String |
getClassName()
نام اصلی کلاس این شی را برمیگرداند.
| ||||||||||
PolygonGeom |
getGeometry()
شی geometry موقعیت مکانی این المان برداری را بر میگرداند.
| ||||||||||
LngLatVectorVector |
getHoles()
Returns the holes of the polygon.
| ||||||||||
Object |
getManagerObject()
شی اتصالدهندهی این کلاس را برمیگرداند.
| ||||||||||
LngLatVector |
getPoses()
گرههای این چندضلعی را بر می گرداند.
| ||||||||||
PolygonStyle |
getStyle()
استایل این چند ضلعی را بر می گرداند.
| ||||||||||
void |
setGeometry(PolygonGeom geometry)
موقعیت این چندضلعی را تنظیم میکند.
| ||||||||||
void |
setHoles(LngLatVectorVector holes)
Sets the holes of the polygon.
| ||||||||||
void |
setPoses(LngLatVector poses)
تنظیم گرههای تنظیم کننده این چندضلعی .
| ||||||||||
void |
setStyle(PolygonStyle style)
استایل این چند ضلعی را تنظیم میکند.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Constructs a Polygon object from a geometry object and a style.
geometry | The geometry object that defines the location and holes of this polygon. |
---|---|
style | The style that defines what this polygon looks like. |
Constructs a Polygon object from a vector of map positions and a style.
poses | The vector of map positions that defines the location of this polygon. |
---|---|
style | The style that defines what this polygon looks like. |
با استفاده از برداری از نقاط روی نقشه، برداری از نقاط حفرهها و استایل مورد نظر یک شی از نوع Polygon میسازد.
poses | بردار موقعیتهای نقشه که موقعیت این چندضعلی را مشخص میکند |
---|---|
holes | بردار حفرهها که موقعیت حفرههای این چندضعلی را مشخص میکند |
style | استایلی که به چندضعلی اعمال میشود |
نام اصلی کلاس این شی را برمیگرداند. این متد در SDK کاربرد داخلی دارد.
شی geometry موقعیت مکانی این المان برداری را بر میگرداند.
Returns the holes of the polygon.
شی اتصالدهندهی این کلاس را برمیگرداند. این متد در SDK کاربرد داخلی دارد.
گرههای این چندضلعی را بر می گرداند.
موقعیت این چندضلعی را تنظیم میکند.
geometry | شی geometry جدید که موقعیت و حفرههای آن را تنظیم میکند |
---|
Sets the holes of the polygon.
holes | The list of holes of the polygon. |
---|
تنظیم گرههای تنظیم کننده این چندضلعی .
با فراخوانی این متد حفرهها تحت تاثیر قرار نمی گیرند
poses | بردار جدید |
---|
استایل این چند ضلعی را تنظیم میکند.
style | استایل جدید |
---|