Class TextVisual
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
- API Level:
- 3
A class encapsulating the property map of the text visual.
public class TextVisual : VisualMap
- Inheritance
Constructors
View SourceTextVisual()
Constructor.
Declaration
public TextVisual()
API Level: 3
Properties
View SourceBackground
Gets or sets the background parameters.
Declaration
public PropertyMap Background { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
API Level: 5
View SourceEnableMarkup
Gets or sets whether the mark-up processing is enabled.
Optional.
Declaration
public bool EnableMarkup { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: 3
View SourceFontFamily
Gets or sets the requested font family to use.
Optional.
Declaration
public string FontFamily { get; set; }
Property Value
Type | Description |
---|---|
String |
API Level: 3
View SourceFontStyle
Gets or sets the requested font style to use.
Optional.
Declaration
public PropertyMap FontStyle { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
API Level: 3
View SourceHorizontalAlignment
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 |
API Level: 3
View SourceMultiLine
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 |
---|---|
Boolean |
API Level: 3
View SourceOutline
Gets or sets the outline parameters.
Declaration
public PropertyMap Outline { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
API Level: 5
View SourcePointSize
Gets or sets the size of font in points.
Mandatory.
Declaration
public float PointSize { get; set; }
Property Value
Type | Description |
---|---|
Single |
API Level: 3
View SourceShadow
Gets or sets the shadow parameters.
Declaration
public PropertyMap Shadow { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
API Level: 5
View SourceText
Gets or sets the text to display in the UTF-8 format.
Mandatory.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
String |
API Level: 3
View SourceTextColor
Gets or sets the color of the text.
Optional.
Declaration
public Color TextColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
API Level: 3
View SourceUnderline
Gets or sets the underline parameters.
Declaration
public PropertyMap Underline { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
API Level: 5
View SourceVerticalAlignment
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 |
API Level: 3
Methods
View SourceComposingPropertyMap()
Compose the out visual map.
Declaration
protected override void ComposingPropertyMap()