Represents a polyline object on the location view. More...
Inheritance diagram for PolylineMapObject:Public Member Functions | |
| bool | setPolyLine (LocationPolyline polyline) |
| Method is used to specify the source polyline of the object. | |
| bool | setWidth (double width) |
| Method is used to specify the width of the polyline. | |
| bool | setColor (double red, double green, double blue, double alpha) |
| Method is used to specify the fill color of the polyline. | |
| bool | setOrder (int order) |
| Method is used to specify the rendering order of the polyline. | |
| bool | setCapType (CapType cap) |
| Method is used to specify the cap style for the polyline ends. | |
| bool | setJoinType (JoinType join) |
| Method is used to specify the join style for polyline segments. | |
| bool | setMiterLimit (double miterLimit) |
| Method is used to specify the miter limit for miter joins. | |
| bool | setOutlineColor (double red, double green, double blue, double alpha) |
| Method is used to specify the color of the polyline’s outline. | |
| bool | setOutlineWidth (double radius) |
| Method is used to specify the width of the polyline’s outline. | |
| bool | setOutlineAlpha (double alpha) |
| Method is used to specify the opacity of the polyline’s outline. | |
| bool | setOutlineCapType (CapType cap) |
| Method is used to specify the cap style for the polyline’s outline ends. | |
| bool | setOutlineJoinType (JoinType join) |
| Method is used to specify the join style for the polyline’s outline segments. | |
| bool | setOutlineMiterLimit (double miterLimit) |
| Method is used to specify the miter limit for the polyline’s outline miter joins. | |
| bool | setOutlineOrder (int order) |
| Method is used to specify the rendering order of the polyline’s outline. | |
| int | getId () |
| Gets the unique identifier of the map object. | |
| MapObjectType | getType () |
| Gets the type of the map object. | |
| Uint8List | getData () |
| Gets the user-defined data associated with the map object. | |
| bool | setVisible (bool visible) |
| Method is used to specify the visibility of the map object. | |
| bool | setInteractive (bool interactive) |
| Method is used to specify whether the map object can be interacted with. | |
| void | setData (Uint8List data) |
| Method is used to set user-defined data for the map object. | |
| bool | setTitle (String title) |
| Method is used to set the title of the map object. | |
| bool | setAlpha (double 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 26 of file polyline_map_object.dart.
|
inherited |
Gets the user-defined data associated with the map object.
Dart code snippet:
|
inherited |
Gets the unique identifier of the map object.
Dart code snippet:
|
inherited |
Gets the type of the map object.
Dart code snippet:
|
inherited |
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. |
Dart code snippet:
| bool PolylineMapObject.setCapType | ( | CapType | cap | ) |
Method is used to specify the cap style for the polyline ends.
| cap | The cap type CapType. Default: BUTT. |
Dart code snippet:
| bool PolylineMapObject.setColor | ( | double | red, |
| double | green, | ||
| double | blue, | ||
| double | alpha ) |
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. |
Dart code snippet:
|
inherited |
Method is used to set user-defined data for the map object.
| data | Data to store in the map object. |
Dart code snippet:
|
inherited |
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. |
Dart code snippet:
| bool PolylineMapObject.setJoinType | ( | JoinType | join | ) |
Method is used to specify the join style for polyline segments.
| join | The join type JoinType. Default: MITER. |
Dart code snippet:
| bool PolylineMapObject.setMiterLimit | ( | double | miterLimit | ) |
Method is used to specify the miter limit for miter joins.
| miterLimit | The miter limit value for miter joins. Default: 3. |
Dart code snippet:
| bool PolylineMapObject.setOrder | ( | int | order | ) |
Method is used to specify the rendering order of the polyline.
| order | The rendering order value. Default: 0. |
Dart code snippet:
| bool PolylineMapObject.setOutlineAlpha | ( | double | alpha | ) |
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. |
Dart code snippet:
| bool PolylineMapObject.setOutlineCapType | ( | CapType | cap | ) |
Method is used to specify the cap style for the polyline’s outline ends.
| cap | The cap type CapType. Default: BUTT. |
Dart code snippet:
| bool PolylineMapObject.setOutlineColor | ( | double | red, |
| double | green, | ||
| double | blue, | ||
| double | alpha ) |
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. |
Dart code snippet:
| bool PolylineMapObject.setOutlineJoinType | ( | JoinType | join | ) |
Method is used to specify the join style for the polyline’s outline segments.
| join | The join type JoinType. Default: MITER. |
Dart code snippet:
| bool PolylineMapObject.setOutlineMiterLimit | ( | double | miterLimit | ) |
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. |
Dart code snippet:
| bool PolylineMapObject.setOutlineOrder | ( | int | order | ) |
Method is used to specify the rendering order of the polyline’s outline.
| order | The rendering order value for the outline. Default: 0. |
Dart code snippet:
| bool PolylineMapObject.setOutlineWidth | ( | double | radius | ) |
Method is used to specify the width of the polyline’s outline.
| radius | Width of the outline in pixels. |
Dart code snippet:
| bool PolylineMapObject.setPolyLine | ( | LocationPolyline | polyline | ) |
Method is used to specify the source polyline of the object.
| polyline | Metrics coordinates of the polyline LocationPolyline. |
Dart code snippet:
|
inherited |
Method is used to set the title of the map object.
| title | The title to display on the location view. |
Dart code snippet:
|
inherited |
Method is used to specify the visibility of the map object.
| visible | Specifies whether the object is visible (true) or hidden (false). Default: true. |
Dart code snippet:
| bool PolylineMapObject.setWidth | ( | double | width | ) |
Method is used to specify the width of the polyline.
| width | Width of the polyline in pixels. |
Dart code snippet: