DsPdfJS API - v9.1.0
    Preparing search index...

    Type Alias GradientStop

    Represents a transition point in a gradient.

    type GradientStop = {
        color: Color;
        offset: number;
    }
    Index

    Properties

    Properties

    color: Color

    The color of this gradient stop.

    offset: number

    The location of this stop within the gradient vector. Valid values are from 0 (vector's start) to 1 (vector's end).