Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    A special Graphics class which handles Grid layer highlighting

    Hierarchy

    • SmoothGraphics
      • GridHighlight
    Index

    Properties

    Methods

    Properties

    positions: Set<any>

    Track distinct positions which have already been highlighted

    Methods

    • Parameters

      • ...args: any[]

      Returns void

    • Record a position that is highlighted and return whether or not it should be rendered

      Parameters

      • x: number

        The x-coordinate to highlight

      • y: number

        The y-coordinate to highlight

      Returns boolean

      Whether or not to draw the highlight for this location