Options
All
  • Public
  • Public/Protected
  • All
Menu

Type Parameters

    Hierarchy

    • SceneDimensions

    Index

    Properties

    width: number

    The width of the canvas.

    height: number

    The height of the canvas.

    size: number

    The grid size.

    rect: Rectangle

    The canvas rectangle.

    sceneX: number

    The X coordinate of the scene rectangle within the larger canvas.

    sceneY: number

    The Y coordinate of the scene rectangle within the larger canvas.

    sceneWidth: number

    The width of the scene.

    sceneHeight: number

    The height of the scene.

    sceneRect: Rectangle

    The scene rectangle.

    distance: number

    The number of distance units in a single grid space.

    ratio: number

    The aspect ratio of the scene rectangle.

    maxR: number

    The length of the longest line that can be drawn on the canvas.