Maria GDK 5.0.0.738
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria::TileLabel Class Reference

#include <MTileLabel.h>

Public Member Functions

const std::vector< BasicGeoTypes::GeoPos > & points () 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::FontDescriptionfont () const
 
void setFont (const Maria::FontDescription &font)
 
const Maria::RGBA & color () const
 
void setColor (const Maria::RGBA &color)
 
void setBackgroundColor (const Maria::RGBA &color)
 
const Maria::RGBA & backgroundColor () const
 
const Maria::RGBA & outlineColor () const
 
void SetOutlineColor (const Maria::RGBA &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)
 

Detailed Description

TileLabel - Short description. Detailed description.


The documentation for this class was generated from the following file: