Class RadialGradient
Definition
- Namespace:
- Tizen.NUI.BaseComponents.VectorGraphics
- Assembly:
- Tizen.NUI.dll
- API Level:
- 9
A class representing the radial gradient fill of the Shape object.
C#Copypublic class RadialGradient : Gradient, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable
- Inheritance
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
Declaration
C#Copypublic RadialGradient()
API Level: 9
Methods
Declaration
C#Copypublic void GetBounds(ref Position2D centerPoint, ref float radius)
Parameters
Type | Name | Description |
---|---|---|
Position2D | centerPoint | The point of the center of the bounding circle. |
System.Single | radius | The radius of the bounding circle. |
API Level: 9
View Source
SetBounds(Position2D, Single)
Sets the radial gradient bounds.
The radial gradient bounds are defined as a circle centered in a given point of a given radius.
Declaration
C#Copypublic void SetBounds(Position2D centerPoint, float radius)
Parameters
Type | Name | Description |
---|---|---|
Position2D | centerPoint | The point of the center of the bounding circle. |
System.Single | radius | The radius of the bounding circle. |
API Level: 9
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable