Represents a polyline object on the location view. More...
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 24 of file polyline_map_object.dart.
|
inherited |
Gets the user-defined data associated with the map object.
|
inherited |
Gets the unique identifier of the map object.
|
inherited |
Gets the type of the map object.
|
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. |
bool PolylineMapObject.setCapType | ( | CapType | cap | ) |
Method is used to specify the cap style for the polyline ends.
cap | The cap type cap_type. Default: BUTT. |
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. |
|
inherited |
Method is used to set user-defined data for the map object.
data | Data to store in the map object. |
|
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. |
bool PolylineMapObject.setJoinType | ( | JoinType | join | ) |
Method is used to specify the join style for polyline segments.
join | The join type join_type. Default: MITER. |
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. |
bool PolylineMapObject.setOrder | ( | int | order | ) |
Method is used to specify the rendering order of the polyline.
order | The rendering order value. Default: 0. |
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. |
bool PolylineMapObject.setOutlineCapType | ( | CapType | cap | ) |
Method is used to specify the cap style for the polyline’s outline ends.
cap | The cap type cap_type. Default: BUTT. |
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. |
bool PolylineMapObject.setOutlineJoinType | ( | JoinType | join | ) |
Method is used to specify the join style for the polyline’s outline segments.
join | The join type join_type. Default: MITER. |
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. |
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. |
bool PolylineMapObject.setOutlineWidth | ( | double | radius | ) |
Method is used to specify the width of the polyline’s outline.
radius | Width of the outline in pixels. |
bool PolylineMapObject.setPolyLine | ( | LocationPolyline | polyline | ) |
Method is used to specify the source polyline of the object.
polyline | Metrics coordinates of the polyline LocationPolyline. |
|
inherited |
Method is used to set the title of the map object.
title | The title to display on the location view. |
|
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. |
bool PolylineMapObject.setWidth | ( | double | width | ) |
Method is used to specify the width of the polyline.
width | Width of the polyline in pixels. |