CartoType C++ API 8.8-7-gb35e4dc71
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_graphics_context.h>
Public Attributes | |
double | Width = 0 |
double | Padding = 0 |
double | Margin = 0 |
Color | BackgroundColor = KTransparentBlack |
Color | BorderColor = KTransparentBlack |
double | BorderWidth = 0 |
double | BorderRadius = 0 |
The style of a text box used in labels. The meanings of Padding and Margin are as in HTML.
Color CartoTypeCore::TextBoxStyle::BackgroundColor = KTransparentBlack |
The background color. The background is not drawn if the background color is completely transparent.
Color CartoTypeCore::TextBoxStyle::BorderColor = KTransparentBlack |
The background color. The border is not drawn if the border color is completely transparent.
double CartoTypeCore::TextBoxStyle::BorderRadius = 0 |
The radius of curved corners on the border. If it is zero or less the corners are square.
double CartoTypeCore::TextBoxStyle::BorderWidth = 0 |
The border width in pixels. No border is drawn if the value is zero or less.
double CartoTypeCore::TextBoxStyle::Margin = 0 |
The margin in pixels: the gap outside the border, between the border and other elements.
double CartoTypeCore::TextBoxStyle::Padding = 0 |
The padding in pixels: the gap inside the border, between the border and the textual content.
double CartoTypeCore::TextBoxStyle::Width = 0 |
The width in pixels.