Inheritance diagram for com.navigine.idl.java.internal.PolygonMapObjectBinding:Public Member Functions | |
| native boolean | isValid () |
| boolean | setPolygon (LocationPolygon polygon) |
| Method is used to specify the source polygon of the object. | |
| boolean | setColor (int color) |
| Method is used to specify the color of the object. | |
| boolean | setOrder (int order) |
| Method is used to specify the rendering order of the object. | |
| boolean | setOutlineColor (int color) |
| Method is used to specify the color of the polygon’s outline. | |
| boolean | setOutlineWidth (float width) |
| Method is used to specify the width of the polygon’s outline. | |
| boolean | setOutlineAlpha (float alpha) |
| Method is used to specify the opacity of the polygon’s outline. | |
| boolean | setOutlineOrder (int order) |
| Method is used to specify the rendering order of the polygon’s outline. | |
| int | getId () |
| Gets the unique identifier of the map object. | |
| MapObjectType | getType () |
| Gets the type of the map object. | |
| byte[] | getData () |
| Gets the user-defined data associated with the map object. | |
| boolean | setVisible (boolean visible) |
| Method is used to specify the visibility of the map object. | |
| boolean | setInteractive (boolean interactive) |
| Method is used to specify whether the map object can be interacted with. | |
| void | setData (byte[] data) |
| Method is used to set user-defined data for the map object. | |
| boolean | setTitle (String title) |
| Method is used to set the title of the map object. | |
| boolean | setTitleWithStyle (String title, TitleStyle style) |
| Method is used to set the title and its style for the map object. | |
| boolean | setAlpha (float alpha) |
| Method is used to set the opacity of the map object. | |
Definition at line 13 of file PolygonMapObjectBinding.java.
|
inline |
Gets the user-defined data associated with the map object.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 93 of file PolygonMapObjectBinding.java.
|
inline |
Gets the unique identifier of the map object.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 79 of file PolygonMapObjectBinding.java.
|
inline |
Gets the type of the map object.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 86 of file PolygonMapObjectBinding.java.
| native boolean com.navigine.idl.java.internal.PolygonMapObjectBinding.isValid | ( | ) |
Tells if this PolygonMapObject is valid or not. Any other method (except for this one) called on an invalid PolygonMapObject will throw java.lang.RuntimeException.
Reimplemented from com.navigine.idl.java.PolygonMapObject.
|
inline |
Method is used to set the opacity of the map object.
| alpha | Opacity multiplier. Values below 0 will be set to 0. Values above 1 will be set to 1. Default: 1. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 135 of file PolygonMapObjectBinding.java.
|
inline |
Method is used to specify the color of the object.
| color | Fill color. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.PolygonMapObject.
Definition at line 35 of file PolygonMapObjectBinding.java.
|
inline |
Method is used to set user-defined data for the map object.
| data | Data to store in the map object. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 114 of file PolygonMapObjectBinding.java.
|
inline |
Method is used to specify whether the map object can be interacted with.
| interactive | Specifies whether the object can be picked in the pickMapObjectAt method (true) or not (false). Default: false. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 107 of file PolygonMapObjectBinding.java.
|
inline |
Method is used to specify the rendering order of the object.
| order | The rendering order value. Default: 0. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.PolygonMapObject.
Definition at line 42 of file PolygonMapObjectBinding.java.
|
inline |
Method is used to specify the opacity of the polygon’s outline.
| alpha | Opacity multiplier (0 to 1). Values below 0 are set to 0. Default: 1. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.PolygonMapObject.
Definition at line 63 of file PolygonMapObjectBinding.java.
|
inline |
Method is used to specify the color of the polygon’s outline.
| color | Outline color. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.PolygonMapObject.
Definition at line 49 of file PolygonMapObjectBinding.java.
|
inline |
Method is used to specify the rendering order of the polygon’s outline.
| order | The rendering order value. Default: 0. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.PolygonMapObject.
Definition at line 70 of file PolygonMapObjectBinding.java.
|
inline |
Method is used to specify the width of the polygon’s outline.
| width | Width of the outline in pixels. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.PolygonMapObject.
Definition at line 56 of file PolygonMapObjectBinding.java.
|
inline |
Method is used to specify the source polygon of the object.
| polygon | Metrics coordinates of the polygon LocationPolygon. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.PolygonMapObject.
Definition at line 28 of file PolygonMapObjectBinding.java.
|
inline |
Method is used to set the title of the map object.
| title | The title to display on the location view. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 121 of file PolygonMapObjectBinding.java.
|
inline |
Method is used to set the title and its style for the map object.
| title | The title to display on the location view. |
| style | Title style parameters TitleStyle. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 128 of file PolygonMapObjectBinding.java.
|
inline |
Method is used to specify the visibility of the map object.
| visible | Specifies whether the object is visible (true) or hidden (false). Default: true. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 100 of file PolygonMapObjectBinding.java.