Hierarchy

  • StiAlignHelper

Index

Methods

Static alignToGrid

  • alignToGrid(value: number, gridSize: number, aligningToGrid: boolean): number
  • Align a value to grid.

    Parameters

    • value: number
    • gridSize: number
    • aligningToGrid: boolean

    Returns number

Static alignToGrid2

  • Align a rectangle to grid.

    Parameters

    • rect: Rectangle
    • gridSize: number
    • aligningToGrid: boolean

    Returns Rectangle

Generated using TypeDoc