The OpenD Programming Language

TagStyle

Undocumented in source.

Members

Variables

color
string color;

Text color. "" means "inherit".

display
DisplayStyle display;

Display inline or block.

fontFace
string fontFace;

Font face. null means "inherit"

fontSizeEm
float fontSizeEm;

Font size in em. 1.0f means "inherit"

fontStyle
FontStyle fontStyle;

Font style. -1 means "inherit"

fontWeight
FontWeight fontWeight;

Font weight. -1 means "inherit"

marginBottomEm
float marginBottomEm;

Only used when hasBlockDisplay()

marginLeftMm
float marginLeftMm;

Warning: in mm not em.

marginRightMm
float marginRightMm;

Unused.

marginTopEm
float marginTopEm;

Margins, in em (unused) +//// Only used when hasBlockDisplay()

textAlign
TextAlign textAlign;

Text-alignment. WARNING: this does very little, only TextAlign.start and TextAlign.left are supported! -1 means "inherit".

Meta