![]() |
Maria GDK 5.1.0.112
Documentation of native code in develop branch
|
#include <MTileLabel.h>
Public Member Functions | |
| const std::vector< BasicGeoTypes::GeoPos > & | points () const |
| BasicGeoTypes::GeoPos | point () const |
| void | setPoint (const BasicGeoTypes::GeoPos &point) |
| void | setPoints (const std::vector< BasicGeoTypes::GeoPos > &points) |
| const std::string & | text () const |
| void | setText (const std::string &text) |
| const Maria::FontDescription & | font () const |
| void | setFont (const Maria::FontDescription &font) |
| const Maria::ARGB & | colorARGB () const |
| void | setColorARGB (const Maria::ARGB &color) |
| void | setBackgroundColorARGB (const Maria::ARGB &color) |
| const Maria::ARGB & | backgroundColorARGB () const |
| const Maria::ARGB & | outlineColorARGB () const |
| void | setOutlineColorARGB (const Maria::ARGB &color) |
| LabelPlacement | placement () const |
| void | SetPlacement (LabelPlacement placement) |
| float | angle () const |
| Label rotation angle in degrees, clockwise. | |
| void | setAngle (float angle) |
| Label rotation angle in degrees, clockwise. | |
| void | setFixedRotation (bool fixedRotation) |
| If true, the label does not rotate with the viewport. I.e it is always fixed upright. | |
| bool | fixedRotation () const |
| If true, the label does not rotate with the viewport. I.e it is always fixed upright. | |
| void | setGeoRotation (bool geoRotation) |
| bool | geoRotation () const |
| void | setMinAngle (short angle) |
| short | minAngle () const |
| void | setMaxAngle (short angle) |
| short | maxAngle () const |
| void | setPlacementMargin (short placementMargin) |
| Offset label away from the anchor point (in pixels) | |
| short | placementMargin () const |
| Offset label away from the anchor point (in pixels) | |
| void | setAllowOverlap (bool allowOverlap) |
| Allow this label to overlap with other labels. | |
| bool | allowOverlap () const |
| Allow this label to overlap with other labels. | |
| void | setMaxHorizSize (float maxHorizSize) |
| Maximum length (in meters) allowed to be covered along the text direction. | |
| float | maxHorizSize () const |
| Maximum length (in meters) allowed to be covered along the text direction. | |
| void | setMaxVertSize (float maxVertSize) |
| Maximum height (in meters) allowed to be covered vertically from the text line. | |
| float | maxVertSize () const |
| Maximum height (in meters) allowed to be covered vertically from the text line. | |
| short | offsetX () const |
| void | setOffsetX (short offsetX) |
| short | offsetY () const |
| void | setOffsetY (short offsetY) |
| const std::shared_ptr< CustomFontScale > & | customFontScale () const |
| void | setCustomFontScale (const std::shared_ptr< CustomFontScale > &customFontScale) |
| void | setAltitude (float altitude) |
| Optional 3D anchor altitude in meters. If not set, renderer may use terrain elevation. | |
| float | altitude () const |
| Optional 3D anchor altitude in meters. | |
| void | setRenderDistance (float renderDistance) |
| 3D render distance for label. | |
| float | renderDistance () const |
| 3D render distance for label. | |
| LabelLayer | labelLayer () const |
| void | setLabelLayer (const LabelLayer &labelLayer) |
| void | setItemId (const Maria::ItemId &itemId) |
| const Maria::ItemId & | itemId () const |
TileLabel - Short description. Detailed description.