Skip to content

TextStudio2DGradientStop

StructTextStudioTextStudio
public struct TextStudio2DGradientStop

A color stop at a normalized position within a 2D paint gradient.

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

public float Position { get; }

Returns

System.Single

public Color Color { get; }

Returns

UnityEngine.Color