SceneGradientStop Struct

A color stop of a gradient.

public readonly struct SceneGradientStop : IEquatable<SceneGradientStop>
Implements

Constructors

NameDescription
SceneGradientStop(double, ChartColor)A color stop of a gradient.

SceneGradientStop(double, ChartColor)

A color stop of a gradient.

public SceneGradientStop(double Offset, ChartColor Color)

Parameters

Offset double
The position of the stop along the gradient, from 0 to 1.
Color ChartColor
The color at the stop.

Properties

NameDescription
ColorThe color at the stop.
OffsetThe position of the stop along the gradient, from 0 to 1.

The color at the stop.

public ChartColor Color { get; init; }

Property value

ChartColor

The position of the stop along the gradient, from 0 to 1.

public double Offset { get; init; }

Property value

double

Methods

NameDescription
Deconstruct(double, ChartColor)
Equals(SceneGradientStop)
Equals(object)
GetHashCode()
ToString()

Deconstruct(double, ChartColor)

public void Deconstruct(out double Offset, out ChartColor Color)

Parameters

Offset double
Color ChartColor

No documentation is available.

Equals overloads

Equals(SceneGradientStop)

public bool Equals(SceneGradientStop other)
Parameters
other SceneGradientStop
Returns

bool

No documentation is available.

Equals(object)

public override bool Equals(object obj)
Parameters
obj object
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(SceneGradientStop, SceneGradientStop)
operator !=(SceneGradientStop, SceneGradientStop)

operator ==(SceneGradientStop, SceneGradientStop)

public static bool operator ==(SceneGradientStop left, SceneGradientStop right)

Parameters

left SceneGradientStop
right SceneGradientStop

Returns

bool

No documentation is available.

operator !=(SceneGradientStop, SceneGradientStop)

public static bool operator !=(SceneGradientStop left, SceneGradientStop right)

Parameters

left SceneGradientStop
right SceneGradientStop

Returns

bool

No documentation is available.