public MovableText( string name, string caption, string fontName, int charHeight, ColorEx color )
: base( name )
{
if (string.IsNullOrEmpty(name))
throw new AxiomException( "Trying to create MovableText without name." );
if (string.IsNullOrEmpty(caption))
throw new AxiomException( "Trying to create MovableText without caption." );
_caption = caption;
_characterHeight = charHeight;
_color = color;
_spaceWidth = 0;
_updateColor = true;
_onTop = true;
_horizontalAlignment = HorizontalAlignment.Center;
this.FontName = fontName;
this._setupGeometry();
}