Class RadialGradient
Definition
- Namespace:
- Tizen.NUI.BaseComponents.VectorGraphics
- Assembly:
- Tizen.NUI.dll
A class representing the radial gradient fill of the Shape object.
public class RadialGradient : Gradient, INotifyPropertyChanged, IDisposable
- Inheritance
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
View SourceRadialGradient()
Creates an initialized radial gradient.
Declaration
public RadialGradient()
Methods
View SourceGetBounds(ref Position2D, ref float)
Gets the radial gradient bounds.
Declaration
public void GetBounds(ref Position2D centerPoint, ref float radius)
Parameters
Type | Name | Description |
---|---|---|
Position2D | centerPoint | The point of the center of the bounding circle. |
float | radius | The radius of the bounding circle. |
SetBounds(Position2D, float)
Sets the radial gradient bounds.
The radial gradient bounds are defined as a circle centered in a given point of a given radius.
Declaration
public void SetBounds(Position2D centerPoint, float radius)
Parameters
Type | Name | Description |
---|---|---|
Position2D | centerPoint | The point of the center of the bounding circle. |
float | radius | The radius of the bounding circle. |
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable