Class ColorStop
Definition
- Namespace:
- Tizen.NUI.BaseComponents.VectorGraphics
- Assembly:
- Tizen.NUI.dll
A data storing the information about the color and its relative position inside the gradient bounds.
public class ColorStop
- Inheritance
-
objectColorStop
Constructors
View SourceColorStop(float, Color)
Initializes a new instance of the ColorStop class with the specified offset and color.
Declaration
public ColorStop(float offset, Color color)
Parameters
Type | Name | Description |
---|---|---|
float | offset | The offset at which the color stop applies. |
Color | color | The color to apply at the specified offset. |
Properties
View SourceColor
Gets or sets the color value of the gradient stop.
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |
Offset
Gets or sets the relative position of the color stop along the gradient line.
Declaration
public float Offset { get; set; }
Property Value
Type | Description |
---|---|
float |