Class VisualMap

Definition

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

A class encapsulating the transform map of the visual.

C#
Copy
public class VisualMap : IDisposable
Inheritance
VisualMap
Derived

Constructors

View Source

VisualMap()

Constructor.

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

Fields

View Source

_commonlyUsedMap

The map for visual.

Declaration
C#
Copy
protected PropertyMap _commonlyUsedMap
Field Value
Type Description
PropertyMap
API Level: 3
View Source

_mixColor

The mixColor of the Visual.

Declaration
C#
Copy
protected Color _mixColor
Field Value
Type Description
Color
API Level: 3
View Source

_opacity

The opacity of the visual.

Declaration
C#
Copy
protected float? _opacity
Field Value
Type Description
Nullable<Single>
API Level: 3
View Source

_outputVisualMap

outputVisualMap.

Declaration
C#
Copy
protected PropertyMap _outputVisualMap
Field Value
Type Description
PropertyMap
API Level: 3
View Source

_premultipliedAlpha

The premultipliedAlpha of the visual.

Declaration
C#
Copy
protected bool? _premultipliedAlpha
Field Value
Type Description
Nullable<Boolean>
API Level: 3
View Source

_shader

The shader of the visual.

Declaration
C#
Copy
protected PropertyMap _shader
Field Value
Type Description
PropertyMap
API Level: 3
View Source

_visualFittingMode

The FittingMode of the visual.

Declaration
C#
Copy
protected VisualFittingModeType? _visualFittingMode
Field Value
Type Description
Nullable<VisualFittingModeType>
API Level: 5

Properties

View Source

AnchorPoint

Gets or sets the anchor point of the visual.
By default, the anchor point is AlignType.TopBegin.
Optional.

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

BorderlineColor

The borderline color of the visual.

Declaration
C#
Copy
public Color BorderlineColor { get; set; }
Property Value
Type Description
Color
View Source

BorderlineOffset

The borderline offset of the visual.

Declaration
C#
Copy
public float BorderlineOffset { get; set; }
Property Value
Type Description
Single
View Source

BorderlineWidth

The borderline width of the visual.

Declaration
C#
Copy
public float BorderlineWidth { get; set; }
Property Value
Type Description
Single
View Source

CornerRadius

The corner radius of the visual.

Declaration
C#
Copy
public Vector4 CornerRadius { get; set; }
Property Value
Type Description
Vector4
View Source

CornerRadiusPolicy

Whether the CornerRadius property value is relative (percentage [0.0f to 0.5f] of the view size) or absolute (in world units). It is absolute by default. When the policy is relative, the corner radius is relative to the smaller of the view's width and height.

Declaration
C#
Copy
public VisualTransformPolicyType CornerRadiusPolicy { get; set; }
Property Value
Type Description
VisualTransformPolicyType
View Source

DepthIndex

Gets or sets the depth index of the visual.
By default, the depth index is 0.
Optional.

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

MixColor

Mix color is a blend color for any visual.

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

Opacity

Opacity is the alpha component of the mix color discussed above.

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

Origin

Gets or sets the origin of the visual within its control area.
By default, the origin is AlignType.TopBegin.
Optional.

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

OutputTransformMap

Gets the transform map used by the visual.

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

OutputVisualMap

Gets the property map to create the visual.

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

Position

Gets or sets the offset of the visual.
It can be either relative (percentage of the parent) or absolute (in world units).
Optional.

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

PositionPolicy

Gets or sets whether the x and y offset values are relative
(percentage [0.0f to 1.0f] of the control) or absolute (in world units).
By default, both the x and the y offset are relative.
Optional.

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

PositionPolicyX

Gets or sets whether the x offset values are relative
(percentage [0.0f to 1.0f] of the control) or absolute (in world units).
By default, the x offset is relative.
Optional.

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

PositionPolicyY

Gets or sets whether the y offset values are relative
(percentage [0.0f to 1.0f] of the control) or absolute (in world units).
By default, the y offset is relative.
Optional.

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

PremultipliedAlpha

Enables or disables the premultiplied alpha.
The premultiplied alpha is false by default unless this behavior is modified by the derived visual type.

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

RelativePosition

Gets or sets the relative offset of the visual
(percentage [0.0f to 1.0f] of the control).
Optional.

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

RelativeSize

Gets or sets the relative size of the visual
(percentage [0.0f to 1.0f] of the control).
Optional.

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

Shader

The shader to use in the visual.

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

Size

Gets or sets the size of the visual.
It can be either relative (percentage of the parent) or absolute (in world units).
Optional.

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

SizePolicy

Gets or sets whether the size values of the width or the height are relative
(percentage [0.0f to 1.0f] of the control) or absolute (in world units).
By default, offsets of both the width and the height are relative to the control's size.
Optional.

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

SizePolicyHeight

Gets or sets whether size values of the height are relative
(percentage [0.0f to 1.0f] of the control) or absolute (in world units).
By default, the height value is relative to the control's height.
Optional.

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

SizePolicyWidth

Gets or sets whether size values of the width are relative.
(percentage [0.0f to 1.0f] of the control) or absolute (in world units).
By default, the value of the width is relative to the control's width.
Optional.

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

VisualFittingMode

The fitting mode of the visual. The default is defined by the type of visual (if it is suitable to be stretched or not).

Declaration
C#
Copy
public VisualFittingModeType VisualFittingMode { get; set; }
Property Value
Type Description
VisualFittingModeType
API Level: 5

Methods

View Source

ComposingPropertyMap()

Compose the out visual map.

Declaration
C#
Copy
protected virtual void ComposingPropertyMap()
API Level: 3
View Source

Dispose()

Declaration
C#
Copy
public void Dispose()
View Source

Dispose(Boolean)

Declaration
C#
Copy
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
Boolean disposing

Extension Methods