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.
C#Copypublic class Gradient : BaseHandle, INotifyPropertyChanged, IDisposable
- Inheritance
- Derived
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Properties
Declaration
C#Copypublic 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. |
Declaration
C#Copypublic SpreadType Spread { get; set; }
Property Value
| Type | Description |
|---|---|
| SpreadType |
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable