Skip to content

GradientStop

StructChartGuruChartGuru
public readonly struct GradientStop

A color stop at an explicit location within a gradient. Swift Charts equivalent: Gradient.Stop(color: .red, location: 0.5).

public readonly Color Color

No description is available for this member.

Returns

UnityEngine.Color — No return description is available.

public readonly float Location

No description is available for this member.

Returns

System.Single — No return description is available.

public GradientStop(Color color, float location)

No description is available for this member.

Parameters

Name Type Description
color UnityEngine.Color
location System.Single