|
Maps SDK for C++ 1.0.0
|
PathCollection object. More...


Public Member Functions | |
| int | size () const noexcept |
| Get the number of paths in this collection. | |
| const PathRef | getPathAt (int index) const noexcept |
| Get the path specified by index. | |
| const PathRef | getPathByName (const String &name) const noexcept |
| Get the path specified by name. | |
| Rgba | getBorderColorAt (int index) const noexcept |
| Get the border color for the path specified by index. | |
| Rgba | getFillColorAt (int index) const noexcept |
| Get the inner color for the path specified by index. | |
| double | getBorderSizeAt (int index) const noexcept |
| Get the border size for the path specified by index. | |
| double | getInnerSizeAt (int index) const noexcept |
| Get the inner size for the path specified by index. | |
| MapViewPathCollection & | add (Path const &path, Rgba colorBorder=Rgba(), Rgba colorInner=Rgba(), double szBorder=-1., double szInner=-1.) noexcept |
| Add a path to the collection. | |
| MapViewPathCollection & | remove (Path const &path) noexcept |
| Remove the path from the collection. | |
| MapViewPathCollection & | removeAt (int index) noexcept |
| Remove the path specified by index. | |
| MapViewPathCollection & | clear () noexcept |
| Remove all paths from the collection. | |
| PathMatchList | hitTest (const RectangleGeographicArea &area) const |
| Hit test in path collection. | |
PathCollection object.
Implements share-read / write Api object over IPathCollection.
|
inlinenoexcept |
Add a path to the collection.
| [in] | path | The path to be added. |
| [in] | colorBorder | The color of the path border. By default the one from the current map view style is used. |
| [in] | colorInner | The color of the path inner. By default the one from the current map view style is used. |
| [in] | szBorder | The size of the path border in mm. If < 0 the one from the current map view style is used. |
| [in] | szInner | The size of the path inner in mm. If < 0 the one from the current map view style is used. |
|
inlinenoexcept |
Remove all paths from the collection.
|
inlinenoexcept |
Get the border color for the path specified by index.
| [in] | index | The path index |
|
inlinenoexcept |
Get the border size for the path specified by index.
| [in] | index | The path index |
|
inlinenoexcept |
Get the inner color for the path specified by index.
| [in] | index | The path index |
|
inlinenoexcept |
Get the inner size for the path specified by index.
| [in] | index | The path index |
|
inlinenoexcept |
Get the path specified by index.
| [in] | index | The path index |
Get the path specified by name.
| [in] | name | The path name |
|
inline |
Hit test in path collection.
| [in] | area | The area to hit test |
|
inlinenoexcept |
Remove the path from the collection.
| [in] | path | The path to be removed |
|
inlinenoexcept |
Remove the path specified by index.
| [in] | index | The path index |
|
inlinenoexcept |
Get the number of paths in this collection.