MapViewPathCollection class Core
Path collection class
This class should not be instantiated directly. Instead, use the MapViewPreferences.paths getter to obtain an instance.
Constructors
- MapViewPathCollection.init(int id, int mapId)
Properties
Methods
-
add(
Path path, {Color colorBorder = const Color(0x00000000), Color colorInner = const Color(0x00000000), double szBorder = -1, double szInner = -1}) → void - Add a path to the collection.
-
clear(
) → void - Remove all paths from the collection.
-
dispose(
) → void -
getBorderColorAt(
int index) → Color - Get the border color for the path specified by index.
-
getBorderSizeAt(
int index) → double - Get the border size for the path specified by index.
-
getFillColorAt(
int index) → Color - Get the fill color for the path specified by index.
-
getInnerSizeAt(
int index) → double - Get the inner size for the path specified by index.
-
getPathAt(
int index) → Path - Get the path specified by index.
-
getPathByName(
String name) → Path - Get the path specified by name.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAutoReleaseObject(
int pointerId) → void -
Registers an object for auto release.
inherited
-
remove(
Path path) → void - Remove the path from the collection.
-
removeAt(
int index) → void - Remove the path specified by index.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited