Type alias LayoutResult

LayoutResult: {
    centerX: number;
    centerY: number;
    correctionX?: number;
    correctionY?: number;
    height: number;
    prevLayout?: LayoutStrategy;
    width: number;
}

positioning and layout data relative to instance's parent

Type declaration

  • centerX: number

    new centerX as measured by the containing plane (same as left with originX set to center)

  • centerY: number

    new centerY as measured by the containing plane (same as top with originY set to center)

  • Optional correctionX?: number

    correctionX to translate objects by, measured as centerX

  • Optional correctionY?: number

    correctionY to translate objects by, measured as centerY

  • height: number
  • Optional prevLayout?: LayoutStrategy
  • width: number

Generated using TypeDoc