[]
        
(Showing Draft Content)

C1.Framework.TextElement.-ctor

TextElement Constructor

TextElement(Style, string)

Initializes a new instance of a TextElement with a given style and contents.

Declaration
public TextElement(Style style, string text)
Parameters
Type Name Description
Style style

Style used to measure and render the TextElement,

string text

String displayed in the TextElement,

TextElement(Style)

Initializes a new instance of a TextElement with a given style.

Declaration
public TextElement(Style style)
Parameters
Type Name Description
Style style

Style used to measure and render the TextElement,

TextElement(string)

Initializes a new instance of a TextElement with a given text.

Declaration
public TextElement(string text)
Parameters
Type Name Description
string text

String displayed in the TextElement,

TextElement()

Initializes a new instance of an empty TextElement.

Declaration
public TextElement()