CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_graphics_context.h>
Public Attributes | |
double | iWidth = 0 |
double | iPadding = 0 |
double | iMargin = 0 |
TColor | iBackgroundColor = KTransparentBlack |
TColor | iBorderColor = KTransparentBlack |
double | iBorderWidth = 0 |
double | iBorderRadius = 0 |
The style of a text box used in labels. The meanings of iPadding and iMargin are as in HTML.
TColor CartoType::TTextBoxStyle::iBackgroundColor = KTransparentBlack |
The background color. The background is not drawn if the background color is completely transparent.
TColor CartoType::TTextBoxStyle::iBorderColor = KTransparentBlack |
The background color. The border is not drawn if the border color is completely transparent.
double CartoType::TTextBoxStyle::iBorderRadius = 0 |
The radius of curved corners on the border. If it is zero or less the corners are square.
double CartoType::TTextBoxStyle::iBorderWidth = 0 |
The border width in pixels. No border is drawn if the value is zero or less.
double CartoType::TTextBoxStyle::iMargin = 0 |
The margin in pixels: the gap outside the border, between the border and other elements.
double CartoType::TTextBoxStyle::iPadding = 0 |
The padding in pixels: the gap inside the border, between the border and the textual content.
double CartoType::TTextBoxStyle::iWidth = 0 |
The width in pixels.