Skip to content
ChartForgeX
Struct

ChartGradientStop

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Base
ValueType
Modifiers
sealed

An immutable color stop. Offsets range from zero to one.

Inheritance

  • ValueType
  • ChartGradientStop

Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Accepted by parameters 2

Constructors

public ChartGradientStop(double offset, ChartColor color) #

Creates a stop at the given fraction of the gradient ramp.

Parameters

offset double required
color ChartForgeX.Primitives.ChartColor required

Properties

public double Offset { get; } #

Gets the position along the ramp.

public ChartColor Color { get; } #

Gets the color, including its alpha channel.