Class GradientStopResource
One color stop of a gradient.
public class GradientStopResource
- Inheritance
-
GradientStopResource
- Inherited Members
Properties
Color
The color at this stop, alpha included. A stop fading to a transparent color fades out rather than to black.
[Required]
public string Color { get; set; }
Property Value
Offset
Where this stop sits along the gradient, from 0 to 1.
[Range(0, 1)]
public float Offset { get; set; }