Class Gradient

    Definition

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

    An abstract class representing the gradient fill of the Shape. It contains the information about the gradient colors and their arrangement inside the gradient bounds. The gradients bounds are defined in the LinearGradient or RadialGradient class, depending on the type of the gradient to be used.

    public class Gradient : BaseHandle, INotifyPropertyChanged, IDisposable
    Inheritance
    object
    BindableObject
    Tizen.NUI.Binding.Element
    BaseHandle
    Gradient
    Derived
    LinearGradient
    LinearGradient
    RadialGradient
    RadialGradient
    Implements
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable

    Properties

    View Source

    ColorStops

    The parameters list of the colors of the gradient and their position.

    Declaration
    public ReadOnlyCollection<ColorStop> ColorStops { get; set; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ReadOnlyCollection<T><ColorStop>
    Exceptions
    Type Condition
    System.ArgumentNullException

    Thrown when value is null.

    View Source

    Spread

    Specifying how to fill the area outside the gradient bounds.

    Declaration
    public SpreadType Spread { get; set; }
    Property Value
    Type Description
    SpreadType

    Implements

    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX