@qrcommunication/gigapdf-lib — SDK API reference - v0.121.0
    Preparing search index...

    Interface GigaGradient

    A linear gradient fill (mirror of model::Gradient): ordered colour stops (position 0..=1, RGB, opacity) plus the axis angle in degrees clockwise from +X (0 = left→right, 90 = top→bottom — the DrawingML convention). Carried alongside the flat RGB fill, which stays the first stop's colour.

    interface GigaGradient {
        stops: { pos: number; color: [number, number, number]; alpha: number }[];
        angle_deg: number;
    }
    Index

    Properties

    Properties

    stops: { pos: number; color: [number, number, number]; alpha: number }[]
    angle_deg: number