Class TextVisual
Definition
- Assembly:
- Tizen.NUI.dll
A class encapsulating the property map of the text visual.
public class TextVisual : VisualMap
- Inheritance
Constructors
View SourceTextVisual()
Constructor.
Declaration
public TextVisual()
Properties
View SourceEnableMarkup
Gets or sets whether the mark-up processing is enabled.
Optional.
Declaration
public bool EnableMarkup { get; set; }
Property Value
Type | Description |
---|---|
bool |
FontFamily
Gets or sets the requested font family to use.
Optional.
Declaration
public string FontFamily { get; set; }
Property Value
Type | Description |
---|---|
string |
FontStyle
Gets or sets the requested font style to use.
Optional.
Declaration
public PropertyMap FontStyle { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
HorizontalAlignment
Gets or sets the line horizontal alignment.
If not specified, the default is begin.
Optional.
Declaration
public HorizontalAlignment HorizontalAlignment { get; set; }
Property Value
Type | Description |
---|---|
HorizontalAlignment |
MultiLine
Gets or sets the single-line or multi-line layout option.
If not specified, the default is false.
Optional.
Declaration
public bool MultiLine { get; set; }
Property Value
Type | Description |
---|---|
bool |
PointSize
Gets or sets the size of font in points.
Mandatory.
Declaration
public float PointSize { get; set; }
Property Value
Type | Description |
---|---|
float |
Text
Gets or sets the text to display in the UTF-8 format.
Mandatory.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
string |
TextColor
Gets or sets the color of the text.
Optional.
Declaration
public Color TextColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
VerticalAlignment
Gets or sets the line vertical alignment.
If not specified, the default is top.
Optional.
Declaration
public VerticalAlignment VerticalAlignment { get; set; }
Property Value
Type | Description |
---|---|
VerticalAlignment |
Methods
View SourceComposingPropertyMap()
Compose the out visual map.
Declaration
protected override void ComposingPropertyMap()