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

    Class LinearGradientBrush

    Represents a linear gradient brush.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    • get endColor(): Color

      Gets the ending gradient color.

      Returns Color

    • get endPoint(): Point

      Gets the end point of the linear gradient brush. (0, 0) is the top-left corner, (1, 1) is the bottom-right corner.

      Returns Point

    • get id(): number

      Gets the reference to the object.

      Returns number

    • get startColor(): Color

      Gets the starting gradient color.

      Returns Color

    • get startPoint(): Point

      Gets the start point of the linear gradient brush. (0, 0) is the top-left corner, (1, 1) is the bottom-right corner.

      Returns Point

    Methods

    • Detaches the object from the ObjectManager and deallocates its memory, if possible.

      Returns void