NanoCanvas
|
#include <Text.h>
Public Attributes | |
int | face = -1 |
The font face of current text style. More... | |
float | size = 12.0f |
The font size of current text style in pixel. More... | |
float | lineHeight = NAN |
float | blur = NAN |
The blur of current text style. More... | |
float | letterSpace = NAN |
The letter spacing of current text style in pixel. More... | |
Color | color = Colors::ZeroColor |
The color of current text style. More... | |
TextAlign::HorizontalAlign | hAlign = TextAlign::Left |
TextAlign::VerticalAlign | vAlign = TextAlign::Baseline |
Text style description structure
float NanoCanvas::TextStyle::blur = NAN |
The blur of current text style.
Color NanoCanvas::TextStyle::color = Colors::ZeroColor |
The color of current text style.
int NanoCanvas::TextStyle::face = -1 |
The font face of current text style.
TextAlign::HorizontalAlign NanoCanvas::TextStyle::hAlign = TextAlign::Left |
The horizontal alignment of current text style
float NanoCanvas::TextStyle::letterSpace = NAN |
The letter spacing of current text style in pixel.
float NanoCanvas::TextStyle::lineHeight = NAN |
The proportional line height of current text style. The line height is specified as multiple of font size.
float NanoCanvas::TextStyle::size = 12.0f |
The font size of current text style in pixel.
TextAlign::VerticalAlign NanoCanvas::TextStyle::vAlign = TextAlign::Baseline |
The vertical alignment of current text style