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
- Derived
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Properties
View SourceColorStops
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. |
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