TextStudio2DGradientStop
public struct TextStudio2DGradientStopA color stop at a normalized position within a 2D paint gradient.
Constructors
Section titled “Constructors”
TextStudio2DGradientStop(float, Color)
Section titled “TextStudio2DGradientStop(float, Color)”public TextStudio2DGradientStop(float position, Color color)Creates a gradient stop with the supplied position and color.
Parameters
| Name | Type |
|---|---|
position |
System.Single |
color |
UnityEngine.Color |
Properties
Section titled “Properties”
Position
Section titled “Position”public float Position { get; }Returns
System.Single
public Color Color { get; }Returns
UnityEngine.Color