Axiom.Core.MovableText.MovableText C# (CSharp) Method

MovableText() public method

public MovableText ( string name, string caption, string fontName, int charHeight, ColorEx color ) : System
name string
caption string
fontName string
charHeight int
color ColorEx
return System
		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();
		}

Same methods

MovableText::MovableText ( string name, string caption, string fontName ) : System