Css.TextDecorationInfo Class Reference

Detailed Description

Info about a line drawn over some text.

Public Member Functions

 TextDecorationInfo (int type)
 Creates a new line of the given type. More...
 
void SetColour (Color colour)
 Sets a custom colour to this decoration. More...
 

Public Attributes

Color BaseColour
 The colour of the line without overlay. More...
 
int Type
 The position of the line. More...
 
bool ColourOverride
 Is the line colour a custom one? Otherwise the font colour is used. More...
 

Constructor & Destructor Documentation

Css.TextDecorationInfo.TextDecorationInfo ( int  type)
inline

Creates a new line of the given type.

Member Function Documentation

void Css.TextDecorationInfo.SetColour ( Color  colour)
inline

Sets a custom colour to this decoration.

Member Data Documentation

Color Css.TextDecorationInfo.BaseColour

The colour of the line without overlay.

bool Css.TextDecorationInfo.ColourOverride

Is the line colour a custom one? Otherwise the font colour is used.

int Css.TextDecorationInfo.Type

The position of the line.