Class ColorStop

Definition

Namespace:
Tizen.NUI.BaseComponents.VectorGraphics
Assembly:
Tizen.NUI.dll
API Level:
9

A data storing the information about the color and its relative position inside the gradient bounds.

C#
Copy
public class ColorStop
Inheritance
System.Object
ColorStop

Constructors

View Source

ColorStop(Single, Color)

Initialize ColorStop.

Declaration
C#
Copy
public ColorStop(float offset, Color color)
Parameters
Type Name Description
System.Single offset
Color color
API Level: 9

Properties

View Source

Color

The color value.

Declaration
C#
Copy
public Color Color { get; set; }
Property Value
Type Description
Color
API Level: 9
View Source

Offset

The relative position of the color.

Declaration
C#
Copy
public float Offset { get; set; }
Property Value
Type Description
System.Single
API Level: 9