Constructors

  • simple data class containing edge insets for a region

    Parameters

    • Optionaltop: number

      inset for the top edge

    • Optionalleft: number

      inset for the left edge

    • Optionalbottom: number

      inset for the bottom edge

    • Optionalright: number

      inset for the right edge

    Returns EdgeInsets

Methods

  • compares this object to another instance

    Parameters

    Returns boolean

  • returns value of requested config option

    Parameters

    • value: "right" | "top" | "left" | "bottom"

    Returns number

  • update the insets returns true if the insets changed, false if no update was required

    Parameters

    • top: number

      inset for the top edge

    • left: number

      inset for the left edge

    • bottom: number

      inset for the bottom edge

    • right: number

      inset for the right edge

    Returns boolean

  • update the insets by copying from another insets objects returns true if the insets changed, false if no update was required

    Parameters

    Returns boolean