QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
Public Attributes | List of all members
QgsTextRendererUtils::CurvePlacementProperties Class Reference

Contains placement information for a curved text layout. More...

#include <qgstextrendererutils.h>

Public Attributes

bool flippedCharacterPlacementToGetUprightLabels = false
 true if the character placement had to be reversed in order to obtain upright labels on the segment
 
QVector< QgsTextRendererUtils::CurvedGraphemePlacementgraphemePlacement
 Placement information for all graphemes in text.
 
bool labeledLineSegmentIsRightToLeft = false
 true if labeled section of line is calculated to be of right-to-left orientation
 
int upsideDownCharCount = 0
 Total count of upside down characters.
 

Detailed Description

Contains placement information for a curved text layout.

Note
Not available in Python bindings
Since
QGIS 3.20

Definition at line 121 of file qgstextrendererutils.h.

Member Data Documentation

◆ flippedCharacterPlacementToGetUprightLabels

bool QgsTextRendererUtils::CurvePlacementProperties::flippedCharacterPlacementToGetUprightLabels = false

true if the character placement had to be reversed in order to obtain upright labels on the segment

Definition at line 132 of file qgstextrendererutils.h.

◆ graphemePlacement

QVector< QgsTextRendererUtils::CurvedGraphemePlacement > QgsTextRendererUtils::CurvePlacementProperties::graphemePlacement

Placement information for all graphemes in text.

Definition at line 126 of file qgstextrendererutils.h.

◆ labeledLineSegmentIsRightToLeft

bool QgsTextRendererUtils::CurvePlacementProperties::labeledLineSegmentIsRightToLeft = false

true if labeled section of line is calculated to be of right-to-left orientation

Definition at line 130 of file qgstextrendererutils.h.

◆ upsideDownCharCount

int QgsTextRendererUtils::CurvePlacementProperties::upsideDownCharCount = 0

Total count of upside down characters.

Definition at line 128 of file qgstextrendererutils.h.


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