Table of Contents

Class GradientStopResource

Namespace
BSGameLib.UI.Builder.Models
Assembly
BSGameLib.UI.dll

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

string

Offset

Where this stop sits along the gradient, from 0 to 1.

[Range(0, 1)]
public float Offset { get; set; }

Property Value

float