CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
Public Attributes | List of all members
CartoType::TTextBoxStyle Class Reference

#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
 

Detailed Description

The style of a text box used in labels. The meanings of iPadding and iMargin are as in HTML.

Member Data Documentation

◆ iBackgroundColor

TColor CartoType::TTextBoxStyle::iBackgroundColor = KTransparentBlack

The background color. The background is not drawn if the background color is completely transparent.

◆ iBorderColor

TColor CartoType::TTextBoxStyle::iBorderColor = KTransparentBlack

The background color. The border is not drawn if the border color is completely transparent.

◆ iBorderRadius

double CartoType::TTextBoxStyle::iBorderRadius = 0

The radius of curved corners on the border. If it is zero or less the corners are square.

◆ iBorderWidth

double CartoType::TTextBoxStyle::iBorderWidth = 0

The border width in pixels. No border is drawn if the value is zero or less.

◆ iMargin

double CartoType::TTextBoxStyle::iMargin = 0

The margin in pixels: the gap outside the border, between the border and other elements.

◆ iPadding

double CartoType::TTextBoxStyle::iPadding = 0

The padding in pixels: the gap inside the border, between the border and the textual content.

◆ iWidth

double CartoType::TTextBoxStyle::iWidth = 0

The width in pixels.


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