Class ColorStop

    Definition

    Namespace:
    Tizen.NUI.BaseComponents.VectorGraphics
    Assembly:
    Tizen.NUI.dll

    A data storing the information about the color and its relative position inside the gradient bounds.

    public class ColorStop
    Inheritance
    object
    ColorStop

    Constructors

    View Source

    ColorStop(float, Color)

    Initializes a new instance of the ColorStop class with the specified offset and color.

    Declaration
    public ColorStop(float offset, Color color)
    Parameters
    Type Name Description
    float offset

    The offset at which the color stop applies.

    Color color

    The color to apply at the specified offset.

    Properties

    View Source

    Color

    Gets or sets the color value of the gradient stop.

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

    Offset

    Gets or sets the relative position of the color stop along the gradient line.

    Declaration
    public float Offset { get; set; }
    Property Value
    Type Description
    float
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX