Dynamic Icons Scripting Reference - v1.3.0
    Preparing search index...

    Class ShadowStyle

    Stores properties for applying a shadow to a canvas context. Can also be used to save & restore context shadow properties.

    Index

    Accessors

    • get isEmpty(): boolean

      Returns true if blur and offset are are <= 0.

      Returns boolean

    Constructors

    Methods

    • Resets shadow coordinates to zero. Does not affect color.

      Returns void

    Properties

    color: string = "#0000"

    Shadow color.

    blur: number = 0

    Shadow blur radius.

    offset: Vect2d = ...

    Shadow offset coordinates.