Represents a circle on the location view. More...
Inheritance diagram for com.navigine.idl.java.CircleMapObject:Public Member Functions | |
| abstract boolean | setPosition (LocationPoint point) |
| Method is used to specify the center of the circle. | |
| abstract boolean | setPositionAnimated (LocationPoint point, float duration, AnimationType type) |
| Method is used to move the center of the circle with the specified animation. | |
| abstract boolean | setColor (float red, float green, float blue, float alpha) |
| Method is used to specify the fill color of the circle. | |
| abstract boolean | setRadius (float radius) |
| Method is used to specify the size of the circle. | |
| abstract boolean | setCollisionEnabled (boolean enabled) |
| Method is used to enable or disable collision detection for the circle. | |
| abstract boolean | setBuffer (float width, float height) |
| Method is used to specify the buffer size around the circle for collision detection. | |
| abstract boolean | setOffset (float width, float height) |
| Method is used to specify an offset for the circle’s position. | |
| abstract boolean | setPriority (float priority) |
| Method is used to specify the priority of the circle. | |
| abstract boolean | setOutlineColor (float red, float green, float blue, float alpha) |
| Method is used to specify the color of the circle’s outline. | |
| abstract boolean | setOutlineRadius (float radius) |
| Method is used to specify the thickness of the circle’s outline. | |
| abstract boolean | setOutlineAlpha (float alpha) |
| Method is used to specify the opacity of the circle’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 circle on the location view.
Referenced from LocationWindow.
Definition at line 18 of file CircleMapObject.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 buffer size around the circle for collision detection.
| width | Width of the buffer in pixels. Default: 0. |
| height | Height of the buffer in pixels. Default: 0. |
Java code snippet:
Kotlin code snippet:
|
abstract |
Method is used to enable or disable collision detection for the circle.
| enabled | Specifies whether collision detection is enabled (true) or disabled (false). Default: false. |
Java code snippet:
Kotlin code snippet:
|
abstract |
Method is used to specify the fill color of the circle.
| 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 an offset for the circle’s position.
| width | Horizontal offset in pixels. |
| height | Vertical offset in pixels. |
Java code snippet:
Kotlin code snippet:
|
abstract |
Method is used to specify the opacity of the circle’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 color of the circle’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 thickness of the circle’s outline.
| radius | Thickness of the outline in pixels. |
Java code snippet:
Kotlin code snippet:
|
abstract |
Method is used to specify the center of the circle.
| point | Metrics coordinates of the center LocationPoint. |
Java code snippet:
Kotlin code snippet:
|
abstract |
Method is used to move the center of the circle with the specified animation.
| point | Metrics coordinates of the center LocationPoint. |
| duration | Animation duration in seconds. |
| type | Animation type AnimationType. Default: CENTER. |
Java code snippet:
Kotlin code snippet:
|
abstract |
Method is used to specify the priority of the circle.
| priority | The priority value for rendering or interaction. Default: 0. |
Java code snippet:
Kotlin code snippet:
|
abstract |
Method is used to specify the size of the circle.
| radius | Radius of the circle in meters. |
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: