Class VisualMap

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.dll

    A class encapsulating the transform map of the visual.

    public class VisualMap
    Inheritance
    object
    VisualMap
    Derived
    AnimatedImageVisual
    AnimatedImageVisual
    AnimatedImageVisual
    AnimatedImageVisual
    AnimatedImageVisual
    AnimatedImageVisual
    AnimatedImageVisual
    AnimatedImageVisual
    AnimatedImageVisual
    AnimatedImageVisual
    BorderVisual
    BorderVisual
    BorderVisual
    BorderVisual
    BorderVisual
    BorderVisual
    BorderVisual
    BorderVisual
    BorderVisual
    BorderVisual
    ColorVisual
    ColorVisual
    ColorVisual
    ColorVisual
    ColorVisual
    ColorVisual
    ColorVisual
    ColorVisual
    ColorVisual
    ColorVisual
    GradientVisual
    GradientVisual
    GradientVisual
    GradientVisual
    GradientVisual
    GradientVisual
    GradientVisual
    GradientVisual
    GradientVisual
    GradientVisual
    ImageVisual
    ImageVisual
    ImageVisual
    ImageVisual
    ImageVisual
    ImageVisual
    ImageVisual
    ImageVisual
    ImageVisual
    ImageVisual
    MeshVisual
    MeshVisual
    MeshVisual
    MeshVisual
    MeshVisual
    MeshVisual
    MeshVisual
    MeshVisual
    MeshVisual
    MeshVisual
    NPatchVisual
    NPatchVisual
    NPatchVisual
    NPatchVisual
    NPatchVisual
    NPatchVisual
    NPatchVisual
    NPatchVisual
    NPatchVisual
    NPatchVisual
    PrimitiveVisual
    PrimitiveVisual
    PrimitiveVisual
    PrimitiveVisual
    PrimitiveVisual
    PrimitiveVisual
    PrimitiveVisual
    PrimitiveVisual
    PrimitiveVisual
    PrimitiveVisual
    SVGVisual
    SVGVisual
    SVGVisual
    SVGVisual
    SVGVisual
    SVGVisual
    SVGVisual
    SVGVisual
    SVGVisual
    SVGVisual
    TextVisual
    TextVisual
    TextVisual
    TextVisual
    TextVisual
    TextVisual
    TextVisual
    TextVisual
    TextVisual
    TextVisual
    VisualAnimator
    VisualAnimator
    VisualAnimator
    VisualAnimator
    VisualAnimator
    VisualAnimator
    VisualAnimator
    VisualAnimator
    VisualAnimator
    VisualAnimator

    Constructors

    View Source

    VisualMap()

    Constructor.

    Declaration
    public VisualMap()

    Fields

    View Source

    _commonlyUsedMap

    The map for visual.

    Declaration
    protected PropertyMap _commonlyUsedMap
    Field Value
    Type Description
    PropertyMap
    View Source

    _mixColor

    The mixColor of the Visual.

    Declaration
    protected Color _mixColor
    Field Value
    Type Description
    Color
    View Source

    _opacity

    The opacity of the visual.

    Declaration
    protected float? _opacity
    Field Value
    Type Description
    float?
    View Source

    _outputVisualMap

    outputVisualMap.

    Declaration
    protected PropertyMap _outputVisualMap
    Field Value
    Type Description
    PropertyMap
    View Source

    _premultipliedAlpha

    The premultipliedAlpha of the visual.

    Declaration
    protected bool? _premultipliedAlpha
    Field Value
    Type Description
    bool?
    View Source

    _shader

    The shader of the visual.

    Declaration
    protected PropertyMap _shader
    Field Value
    Type Description
    PropertyMap

    Properties

    View Source

    AnchorPoint

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

    Declaration
    public Visual.AlignType AnchorPoint { get; set; }
    Property Value
    Type Description
    Visual.AlignType
    View Source

    DepthIndex

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

    Declaration
    public int DepthIndex { get; set; }
    Property Value
    Type Description
    int
    View Source

    MixColor

    Mix color is a blend color for any visual.

    Declaration
    public Color MixColor { get; set; }
    Property Value
    Type Description
    Color
    View Source

    Opacity

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

    Declaration
    public float Opacity { get; set; }
    Property Value
    Type Description
    float
    View Source

    Origin

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

    Declaration
    public Visual.AlignType Origin { get; set; }
    Property Value
    Type Description
    Visual.AlignType
    View Source

    OutputTransformMap

    Gets the transform map used by the visual.

    Declaration
    public PropertyMap OutputTransformMap { get; }
    Property Value
    Type Description
    PropertyMap
    View Source

    OutputVisualMap

    Gets the property map to create the visual.

    Declaration
    public PropertyMap OutputVisualMap { get; }
    Property Value
    Type Description
    PropertyMap
    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
    public Vector2 Position { get; set; }
    Property Value
    Type Description
    Vector2
    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
    public VisualTransformPolicyType PositionPolicy { get; set; }
    Property Value
    Type Description
    VisualTransformPolicyType
    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
    public VisualTransformPolicyType PositionPolicyX { get; set; }
    Property Value
    Type Description
    VisualTransformPolicyType
    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
    public VisualTransformPolicyType PositionPolicyY { get; set; }
    Property Value
    Type Description
    VisualTransformPolicyType
    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
    public bool PremultipliedAlpha { get; set; }
    Property Value
    Type Description
    bool
    View Source

    RelativePosition

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

    Declaration
    public RelativeVector2 RelativePosition { get; set; }
    Property Value
    Type Description
    RelativeVector2
    View Source

    RelativeSize

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

    Declaration
    public RelativeVector2 RelativeSize { get; set; }
    Property Value
    Type Description
    RelativeVector2
    View Source

    Shader

    The shader to use in the visual.

    Declaration
    public PropertyMap Shader { get; set; }
    Property Value
    Type Description
    PropertyMap
    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
    public Size2D Size { get; set; }
    Property Value
    Type Description
    Size2D
    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
    public VisualTransformPolicyType SizePolicy { get; set; }
    Property Value
    Type Description
    VisualTransformPolicyType
    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
    public VisualTransformPolicyType SizePolicyHeight { get; set; }
    Property Value
    Type Description
    VisualTransformPolicyType
    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
    public VisualTransformPolicyType SizePolicyWidth { get; set; }
    Property Value
    Type Description
    VisualTransformPolicyType

    Methods

    View Source

    ComposingPropertyMap()

    Compose the out visual map.

    Declaration
    protected virtual void ComposingPropertyMap()
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX