Represents a polyline object on the location view. More...
Inheritance diagram for com.navigine.idl.java.PolylineMapObject:Public Member Functions | |
| abstract boolean | setPolyLine (LocationPolyline polyline) |
| Method is used to specify the source polyline of the object. | |
| abstract boolean | setWidth (float width) |
| Method is used to specify the width of the polyline. | |
| abstract boolean | setColor (float red, float green, float blue, float alpha) |
| Method is used to specify the fill color of the polyline. | |
| abstract boolean | setOrder (int order) |
| Method is used to specify the rendering order of the polyline. | |
| abstract boolean | setCapType (CapType cap) |
| Method is used to specify the cap style for the polyline ends. | |
| abstract boolean | setJoinType (JoinType join) |
| Method is used to specify the join style for polyline segments. | |
| abstract boolean | setMiterLimit (float miterLimit) |
| Method is used to specify the miter limit for miter joins. | |
| abstract boolean | setOutlineColor (float red, float green, float blue, float alpha) |
| Method is used to specify the color of the polyline’s outline. | |
| abstract boolean | setOutlineWidth (float radius) |
| Method is used to specify the width of the polyline’s outline. | |
| abstract boolean | setOutlineAlpha (float alpha) |
| Method is used to specify the opacity of the polyline’s outline. | |
| abstract boolean | setOutlineCapType (CapType cap) |
| Method is used to specify the cap style for the polyline’s outline ends. | |
| abstract boolean | setOutlineJoinType (JoinType join) |
| Method is used to specify the join style for the polyline’s outline segments. | |
| abstract boolean | setOutlineMiterLimit (float miterLimit) |
| Method is used to specify the miter limit for the polyline’s outline miter joins. | |
| abstract boolean | setOutlineOrder (int order) |
| Method is used to specify the rendering order of the polyline’s outline. | |
| abstract int | getId () |
| Gets the unique identifier of the map object. | |
| abstract MapObjectType | getType () |
| Gets the type of the map object. | |
| abstract byte[] | getData () |
| Gets the user-defined data associated with the map object. | |
| abstract boolean | setVisible (boolean visible) |
| Method is used to specify the visibility of the map object. | |
| abstract boolean | setInteractive (boolean interactive) |
| Method is used to specify whether the map object can be interacted with. | |
| abstract void | setData (byte[] data) |
| Method is used to set user-defined data for the map object. | |
| abstract boolean | setTitle (String title) |
| Method is used to set the title of the map object. | |
| abstract boolean | setAlpha (float alpha) |
| Method is used to set the opacity of the map object. | |
Represents a polyline object on the location view.
Referenced from LocationWindow.
Definition at line 18 of file PolylineMapObject.java.
|
abstractinherited |
Gets the user-defined data associated with the map object.
Java code snippet:
Kotlin code snippet:
|
abstractinherited |
Gets the unique identifier of the map object.
Java code snippet:
Kotlin code snippet:
|
abstractinherited |
Gets the type of the map object.
Java code snippet:
Kotlin code snippet:
|
abstractinherited |
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:
|
abstract |
Method is used to specify the cap style for the polyline ends.
| cap | The cap type CapType. Default: BUTT. |
Java code snippet:
Kotlin code snippet:
|
abstract |
Method is used to specify the fill color of the polyline.
| red | Red RGBA component (0 to 1). |
| green | Green RGBA component (0 to 1). |
| blue | Blue RGBA component (0 to 1). |
| alpha | Opacity multiplier (0 to 1). Values below 0 are set to 0. Default: 1. |
Java code snippet:
Kotlin code snippet:
|
abstractinherited |
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:
|
abstractinherited |
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:
|
abstract |
Method is used to specify the join style for polyline segments.
| join | The join type JoinType. Default: MITER. |
Java code snippet:
Kotlin code snippet:
|
abstract |
Method is used to specify the miter limit for miter joins.
| miterLimit | The miter limit value for miter joins. Default: 3. |
Java code snippet:
Kotlin code snippet:
|
abstract |
Method is used to specify the rendering order of the polyline.
| order | The rendering order value. Default: 0. |
Java code snippet:
Kotlin code snippet:
|
abstract |
Method is used to specify the opacity of the polyline’s outline.
| alpha | Opacity multiplier (0 to 1). Values below 0 are set to 0. Default: 1. |
Java code snippet:
Kotlin code snippet:
|
abstract |
Method is used to specify the cap style for the polyline’s outline ends.
| cap | The cap type CapType. Default: BUTT. |
Java code snippet:
Kotlin code snippet:
|
abstract |
Method is used to specify the color of the polyline’s outline.
| red | Red RGBA component (0 to 1). |
| green | Green RGBA component (0 to 1). |
| blue | Blue RGBA component (0 to 1). |
| alpha | Opacity multiplier (0 to 1). Values below 0 are set to 0. Default: 1. |
Java code snippet:
Kotlin code snippet:
|
abstract |
Method is used to specify the join style for the polyline’s outline segments.
| join | The join type JoinType. Default: MITER. |
Java code snippet:
Kotlin code snippet:
|
abstract |
Method is used to specify the miter limit for the polyline’s outline miter joins.
| miterLimit | The miter limit value for outline miter joins. Default: 3. |
Java code snippet:
Kotlin code snippet:
|
abstract |
Method is used to specify the rendering order of the polyline’s outline.
| order | The rendering order value for the outline. Default: 0. |
Java code snippet:
Kotlin code snippet:
|
abstract |
Method is used to specify the width of the polyline’s outline.
| radius | Width of the outline in pixels. |
Java code snippet:
Kotlin code snippet:
|
abstract |
Method is used to specify the source polyline of the object.
| polyline | Metrics coordinates of the polyline LocationPolyline. |
Java code snippet:
Kotlin code snippet:
|
abstractinherited |
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:
|
abstractinherited |
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:
|
abstract |
Method is used to specify the width of the polyline.
| width | Width of the polyline in pixels. |
Java code snippet:
Kotlin code snippet: