Class TextVisual
Definition
- Assembly:
- Tizen.NUI.dll
A class encapsulating the property map of the text visual.
public class TextVisual : VisualMap, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourceTextVisual()
Constructor.
Declaration
public TextVisual()
Properties
View SourceBackground
Gets or sets the background parameters.
Declaration
public PropertyMap Background { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
EnableMarkup
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 |
Outline
Gets or sets the outline parameters.
Declaration
public PropertyMap Outline { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
PointSize
Gets or sets the size of font in points.
Mandatory.
Declaration
public float PointSize { get; set; }
Property Value
Type | Description |
---|---|
float |
Shadow
Gets or sets the shadow parameters.
Declaration
public PropertyMap Shadow { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
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 |
Underline
Gets or sets the underline parameters.
Declaration
public PropertyMap Underline { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
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()