Table of Contents

Struct GradientStop

Namespace
Rustaveli.Pdf
Assembly
Rustaveli.Pdf.dll

An ink at a position along a gradient, from 0 at its start to 1 at its end.

public readonly record struct GradientStop : IEquatable<GradientStop>
Implements
Inherited Members

Constructors

GradientStop(float, Ink)

An ink at a position along a gradient, from 0 at its start to 1 at its end.

public GradientStop(float Position, Ink Ink)

Parameters

Position float

How far along the blend the ink lies.

Ink Ink

The ink there.

Properties

Ink

The ink there.

public Ink Ink { get; init; }

Property Value

Ink

Position

How far along the blend the ink lies.

public float Position { get; init; }

Property Value

float