Hierarchy

Constructors

  • Parameters

    • document: MeasuredTemplateDocument

      The Document instance which is represented by this object

    Returns MeasuredTemplatePF

Accessors

Methods

  • Protected

    Get highlighted square coordinates.

    Supports only circle, cone and ray templates.

    Returns Point[]

    • Array of grid coordinates
  • Private

    Calculates a set of x & y coordinates that the template actually should have based on type and origin

    Returns {
        x: number;
        y: number;
    }

    • x: number
    • y: number
  • Private

    Recalculate template visual element positions based on snap coordinates

    Returns void

  • Determine tokens residing within the template bounds, based on either grid higlight logic or token center.

    Returns Promise<Token[]>

    Tokens sufficiently within the template.

Generated using TypeDoc