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#
Copy
public class RadialGradient : Gradient, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable
Inheritance
Implements

Constructors

View Source

RadialGradient()

Creates an initialized radial gradient.

Declaration
C#
Copy
public RadialGradient()
API Level: 9

Methods

View Source

GetBounds(ref Position2D, ref Single)

Gets the radial gradient bounds.

Declaration
C#
Copy
public void GetBounds(ref Position2D centerPoint, ref float radius)
Parameters
Type Name Description
Position2D centerPoint

The point of the center of the bounding circle.

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#
Copy
public void SetBounds(Position2D centerPoint, float radius)
Parameters
Type Name Description
Position2D centerPoint

The point of the center of the bounding circle.

Single radius

The radius of the bounding circle.

API Level: 9

Implements

Extension Methods