ON_TextBuilder::TextProps Class Reference

#include <opennurbs_textiterator.h>

Public Member Functions

 TextProps ()
 
 TextProps (double height, double stackscale, ON_Color color, ON_DimStyle::stack_format stackformat, bool bold, bool italic, bool underlined, bool strikethrough, unsigned int charset)
 
unsigned int CharSet ()
 
unsigned int CodePage ()
 
ON_Color Color () const
 
double Height () const
 
bool IsBold ()
 
bool IsItalic ()
 
bool IsStrikethrough ()
 
bool IsUnderlined ()
 
void SetBold (bool bold)
 
void SetCharSet (unsigned int charset, bool setcodepage)
 
void SetCodePage (unsigned int codepage)
 
void SetColor (ON_Color c)
 
void SetHeight (double h)
 
void SetItalic (bool italic)
 
void SetStackFormat (ON_DimStyle::stack_format s)
 
void SetStackScale (double s)
 
void SetStrikethrough (bool strikethrough)
 
void SetUnderlined (bool underlined)
 
ON_DimStyle::stack_format StackFormat () const
 
double StackScale () const
 

Constructor & Destructor Documentation

◆ TextProps() [1/2]

ON_TextBuilder::TextProps::TextProps ( )
inline

◆ TextProps() [2/2]

ON_TextBuilder::TextProps::TextProps ( double  height,
double  stackscale,
ON_Color  color,
ON_DimStyle::stack_format  stackformat,
bool  bold,
bool  italic,
bool  underlined,
bool  strikethrough,
unsigned int  charset 
)
inline

Member Function Documentation

◆ CharSet()

unsigned int ON_TextBuilder::TextProps::CharSet ( )
inline

◆ CodePage()

unsigned int ON_TextBuilder::TextProps::CodePage ( )
inline

◆ Color()

ON_Color ON_TextBuilder::TextProps::Color ( ) const
inline

◆ Height()

double ON_TextBuilder::TextProps::Height ( void  ) const
inline

◆ IsBold()

bool ON_TextBuilder::TextProps::IsBold ( )
inline

◆ IsItalic()

bool ON_TextBuilder::TextProps::IsItalic ( )
inline

◆ IsStrikethrough()

bool ON_TextBuilder::TextProps::IsStrikethrough ( )
inline

◆ IsUnderlined()

bool ON_TextBuilder::TextProps::IsUnderlined ( )
inline

◆ SetBold()

void ON_TextBuilder::TextProps::SetBold ( bool  bold)
inline

◆ SetCharSet()

void ON_TextBuilder::TextProps::SetCharSet ( unsigned int  charset,
bool  setcodepage 
)
inline

◆ SetCodePage()

void ON_TextBuilder::TextProps::SetCodePage ( unsigned int  codepage)
inline

◆ SetColor()

void ON_TextBuilder::TextProps::SetColor ( ON_Color  c)
inline

◆ SetHeight()

void ON_TextBuilder::TextProps::SetHeight ( double  h)
inline

◆ SetItalic()

void ON_TextBuilder::TextProps::SetItalic ( bool  italic)
inline

◆ SetStackFormat()

void ON_TextBuilder::TextProps::SetStackFormat ( ON_DimStyle::stack_format  s)
inline

◆ SetStackScale()

void ON_TextBuilder::TextProps::SetStackScale ( double  s)
inline

◆ SetStrikethrough()

void ON_TextBuilder::TextProps::SetStrikethrough ( bool  strikethrough)
inline

◆ SetUnderlined()

void ON_TextBuilder::TextProps::SetUnderlined ( bool  underlined)
inline

◆ StackFormat()

ON_DimStyle::stack_format ON_TextBuilder::TextProps::StackFormat ( ) const
inline

◆ StackScale()

double ON_TextBuilder::TextProps::StackScale ( ) const
inline