Class Gradient
Definition
- Namespace:
- Tizen.NUI.BaseComponents.VectorGraphics
- Assembly:
- Tizen.NUI.dll
- API Level:
- 9
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, IDynamicResourceHandler, IElement, INameScope, IElementController, 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<ColorStop> |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown when value is null. |
API Level: 9
Declaration
C#Copypublic SpreadType Spread { get; set; }
Property Value
Type | Description |
---|---|
SpreadType |
API Level: 9
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable