PolylineMapObject$Impl class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getData()
→ Uint8List
-
@brief Gets the user-defined data associated with the map object.
@return The data stored in the map object.
override
-
getId()
→ int
-
@brief Gets the unique identifier of the map object.
@return The unique identifier of the map object.
override
-
getType()
→ MapObjectType
-
@brief Gets the type of the map object.
@return The type of the map object @see MapObjectType "MapObjectType".
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setAlpha(double alpha)
→ bool
-
@brief Method is used to set the opacity of the map object.
@param alpha Opacity multiplier. Values below 0 will be set to 0. Values above 1 will be set to 1. Default: 1.
@return true if the operation is successful, false otherwise.
override
-
setCapType(CapType cap)
→ bool
-
@brief Method is used to specify the cap style for the polyline ends.
@param cap The cap type @see CapType "CapType". Default: BUTT.
@return true if the operation is successful, false otherwise.
override
-
setColor(double red, double green, double blue, double alpha)
→ bool
-
@brief Method is used to specify the fill color of the polyline.
@param red Red RGBA component (0 to 1).
@param green Green RGBA component (0 to 1).
@param blue Blue RGBA component (0 to 1).
@param alpha Opacity multiplier (0 to 1). Values below 0 are set to 0. Default: 1.
@return true if the operation is successful, false otherwise.
override
-
setData(Uint8List data)
→ void
-
@brief Method is used to set user-defined data for the map object.
@param data Data to store in the map object.
override
-
setInteractive(bool interactive)
→ bool
-
@brief Method is used to specify whether the map object can be interacted with.
@param interactive Specifies whether the object can be picked in the
pickMapObjectAt method (true) or not (false). Default: false.
@return true if the operation is successful, false otherwise.
override
-
setJoinType(JoinType join)
→ bool
-
@brief Method is used to specify the join style for polyline segments.
@param join The join type @see JoinType "JoinType". Default: MITER.
@return true if the operation is successful, false otherwise.
override
-
setMiterLimit(double miterLimit)
→ bool
-
@brief Method is used to specify the miter limit for miter joins.
@param miterLimit The miter limit value for miter joins. Default: 3.
@return true if the operation is successful, false otherwise.
override
-
setOrder(int order)
→ bool
-
@brief Method is used to specify the rendering order of the polyline.
@param order The rendering order value. Default: 0.
@return true if the operation is successful, false otherwise.
override
-
setOutlineAlpha(double alpha)
→ bool
-
@brief Method is used to specify the opacity of the polyline’s outline.
@param alpha Opacity multiplier (0 to 1). Values below 0 are set to 0. Default: 1.
@return true if the operation is successful, false otherwise.
override
-
setOutlineCapType(CapType cap)
→ bool
-
@brief Method is used to specify the cap style for the polyline’s outline ends.
@param cap The cap type @see CapType "CapType". Default: BUTT.
@return true if the operation is successful, false otherwise.
override
-
setOutlineColor(double red, double green, double blue, double alpha)
→ bool
-
@brief Method is used to specify the color of the polyline’s outline.
@param red Red RGBA component (0 to 1).
@param green Green RGBA component (0 to 1).
@param blue Blue RGBA component (0 to 1).
@param alpha Opacity multiplier (0 to 1). Values below 0 are set to 0. Default: 1.
@return true if the operation is successful, false otherwise.
override
-
setOutlineJoinType(JoinType join)
→ bool
-
@brief Method is used to specify the join style for the polyline’s outline segments.
@param join The join type @see JoinType "JoinType". Default: MITER.
@return true if the operation is successful, false otherwise.
override
-
setOutlineMiterLimit(double miterLimit)
→ bool
-
@brief Method is used to specify the miter limit for the polyline’s outline miter joins.
@param miterLimit The miter limit value for outline miter joins. Default: 3.
@return true if the operation is successful, false otherwise.
override
-
setOutlineOrder(int order)
→ bool
-
@brief Method is used to specify the rendering order of the polyline’s outline.
@param order The rendering order value for the outline. Default: 0.
@return true if the operation is successful, false otherwise.
override
-
setOutlineWidth(double radius)
→ bool
-
@brief Method is used to specify the width of the polyline’s outline.
@param radius Width of the outline in pixels.
@return true if the operation is successful, false otherwise.
override
-
setPolyLine(LocationPolyline polyline)
→ bool
-
@brief Method is used to specify the source polyline of the object.
@param polyline Metrics coordinates of the polyline @see LocationPolyline "LocationPolyline".
@return true if the operation is successful, false otherwise.
override
-
setTitle(String title)
→ bool
-
@brief Method is used to set the title of the map object.
@param title The title to display on the location view.
@return true if the operation is successful, false otherwise.
override
-
setVisible(bool visible)
→ bool
-
@brief Method is used to specify the visibility of the map object.
@param visible Specifies whether the object is visible (true) or hidden (false). Default: true.
@return true if the operation is successful, false otherwise.
override
-
setWidth(double width)
→ bool
-
@brief Method is used to specify the width of the polyline.
@param width Width of the polyline in pixels.
@return true if the operation is successful, false otherwise.
override
-
toString()
→ String
-
A string representation of this object.
inherited