Struct TextProperties#

Struct Documentation#

struct TextProperties#

Properties to modify a MooViE Drawers text style.

TextProperties can be used to control font, size, color and style of a drawn text.

Authors

beyss, stratmann

Date

05.07.2017

Public Functions

inline TextProperties(const std::string &font_name_, double font_size_, const Color &color_ = Color::BLACK, bool bold_ = false, bool italic_ = false)#

Creates a TextProperties instance with the given style information.

Parameters:
  • font_name_

  • font_size_

  • color_

  • bold_

  • italic_

Public Members

std::string font_name#

The font name

double font_size#

The font size

Color color#

The text color

bool bold#

The boldness of the text

bool italic#

The skewness of the text