Class TextVisual

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll
API Level:
3

A class encapsulating the property map of the text visual.

C#
Copy
public class TextVisual : VisualMap
Inheritance
TextVisual

Constructors

View Source

TextVisual()

Constructor.

Declaration
C#
Copy
public TextVisual()
API Level: 3

Properties

View Source

Background

Gets or sets the background parameters.

Declaration
C#
Copy
public PropertyMap Background { get; set; }
Property Value
Type Description
PropertyMap
API Level: 5
View Source

EnableMarkup

Gets or sets whether the mark-up processing is enabled.
Optional.

Declaration
C#
Copy
public bool EnableMarkup { get; set; }
Property Value
Type Description
Boolean
API Level: 3
View Source

FontFamily

Gets or sets the requested font family to use.
Optional.

Declaration
C#
Copy
public string FontFamily { get; set; }
Property Value
Type Description
String
API Level: 3
View Source

FontStyle

Gets or sets the requested font style to use.
Optional.

Declaration
C#
Copy
public PropertyMap FontStyle { get; set; }
Property Value
Type Description
PropertyMap
API Level: 3
View Source

HorizontalAlignment

Gets or sets the line horizontal alignment.
If not specified, the default is begin.
Optional.

Declaration
C#
Copy
public HorizontalAlignment HorizontalAlignment { get; set; }
Property Value
Type Description
HorizontalAlignment
API Level: 3
View Source

MultiLine

Gets or sets the single-line or multi-line layout option.
If not specified, the default is false.
Optional.

Declaration
C#
Copy
public bool MultiLine { get; set; }
Property Value
Type Description
Boolean
API Level: 3
View Source

Outline

Gets or sets the outline parameters.

Declaration
C#
Copy
public PropertyMap Outline { get; set; }
Property Value
Type Description
PropertyMap
API Level: 5
View Source

PointSize

Gets or sets the size of font in points.
Mandatory.

Declaration
C#
Copy
public float PointSize { get; set; }
Property Value
Type Description
Single
API Level: 3
View Source

Shadow

Gets or sets the shadow parameters.

Declaration
C#
Copy
public PropertyMap Shadow { get; set; }
Property Value
Type Description
PropertyMap
API Level: 5
View Source

Text

Gets or sets the text to display in the UTF-8 format.
Mandatory.

Declaration
C#
Copy
public string Text { get; set; }
Property Value
Type Description
String
API Level: 3
View Source

TextColor

Gets or sets the color of the text.
Optional.

Declaration
C#
Copy
public Color TextColor { get; set; }
Property Value
Type Description
Color
API Level: 3
View Source

Underline

Gets or sets the underline parameters.

Declaration
C#
Copy
public PropertyMap Underline { get; set; }
Property Value
Type Description
PropertyMap
API Level: 5
View Source

VerticalAlignment

Gets or sets the line vertical alignment.
If not specified, the default is top.
Optional.

Declaration
C#
Copy
public VerticalAlignment VerticalAlignment { get; set; }
Property Value
Type Description
VerticalAlignment
API Level: 3

Methods

View Source

ComposingPropertyMap()

Compose the out visual map.

Declaration
C#
Copy
protected override void ComposingPropertyMap()
Overrides
API Level: 3

Extension Methods