NanoCanvas
Public Attributes | List of all members
NanoCanvas::TextStyle Struct Reference

#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
 

Detailed Description

Text style description structure

Note
The text alignment of text is formed by horizontal alignment and vertical alignemt
+ Collaboration diagram for NanoCanvas::TextStyle:

Member Data Documentation

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

See also
TextAlign::HorizontalAlign
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

See also
TextAlign::VerticalAlign

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

The documentation was generated by Doxygen

Copyright © 2015 Geequlim. All rights reserved.