Hierarchy

  • StiMargins

Implements

Index

Constructors

constructor

  • new StiMargins(left?: number, right?: number, top?: number, bottom?: number): StiMargins
  • Parameters

    • Default value left: number = 0
    • Default value right: number = 0
    • Default value top: number = 0
    • Default value bottom: number = 0

    Returns StiMargins

Properties

bottom

bottom: number

left

left: number

right

right: number

top

top: number

Accessors

isEmpty

  • get isEmpty(): boolean
  • Returns boolean

Static empty

Methods

clone

  • clone(): any
  • Returns any

equals

  • equals(obj: any): boolean
  • Parameters

    • obj: any

    Returns boolean

implements

  • implements(): any[]
  • Returns any[]

loadFromJsonObject

  • loadFromJsonObject(jObject: StiJson): void

saveToJsonObject

  • saveToJsonObject(mode: StiJsonSaveMode, defLeft?: number, defRight?: number, defTop?: number, defBotttom?: number): StiJson
  • Parameters

    • mode: StiJsonSaveMode
    • Default value defLeft: number = 0
    • Default value defRight: number = 0
    • Default value defTop: number = 0
    • Default value defBotttom: number = 0

    Returns StiJson

Static create

  • Parameters

    • Default value all: number = 0

    Returns StiMargins

Static loadFromText

Static loadFromXml

Generated using TypeDoc