![]() |
Maria GDK 5.0.0.907
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::RGBA & | color () const |
| void | setColor (const Maria::ARGB &color) |
| void | setBackgroundColor (const Maria::ARGB &color) |
| const Maria::ARGB & | backgroundColor () const |
| const Maria::ARGB & | outlineColor () const |
| void | setOutlineColor (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) |
| LabelLayer | labelLayer () const |
| void | setLabelLayer (const LabelLayer &labelLayer) |
TileLabel - Short description. Detailed description.