Class describes a border.

Hierarchy

  • StiSimpleBorder

Implements

Index

Constructors

constructor

  • Creates a new instance of the StiBorder class.

    Parameters

    • Default value side: StiBorderSides = StiBorderSides.None

      Border sides.

    • Default value color: Color = Color.gray

      Border color.

    • Default value size: number = 1

      Border size.

    • Default value style: StiPenStyle = StiPenStyle.Solid

      Border style.

    Returns StiSimpleBorder

Properties

color

color: Color = Color.gray

Gets or sets a border color.

side

side: StiBorderSides = StiBorderSides.None

Gets or sets frame borders.

size

size: number = 1

Gets or sets a border size.

style

style: StiPenStyle = StiPenStyle.Solid

Gets or sets a border style.

Accessors

isAllBorderSidesPresent

  • get isAllBorderSidesPresent(): boolean
  • Gets value which indicates that all sides of border is present.

    Returns boolean

isBottomBorderSidePresent

  • get isBottomBorderSidePresent(): boolean
  • Gets value which indicates that bottom side of border is present.

    Returns boolean

isLeftBorderSidePresent

  • get isLeftBorderSidePresent(): boolean
  • Gets value which indicates that left side of border is present.

    Returns boolean

isRightBorderSidePresent

  • get isRightBorderSidePresent(): boolean
  • Gets value which indicates that right side of border is present.

    Returns boolean

isTopBorderSidePresent

  • get isTopBorderSidePresent(): boolean
  • Gets value which indicates that top side of border is present.

    Returns boolean

Methods

clone

  • clone(): any
  • Creates a new object that is a copy of the current instance.

    Returns any

    A new object that is a copy of this instance.

getBorder

getSize

  • getSize(): number
  • Returns number

getSizeIncludingSide

  • getSizeIncludingSide(): number
  • Returns number

getSizeOffset

  • getSizeOffset(): number
  • Returns number

loadFromJsonObject

  • loadFromJsonObject(jObject: StiJson): void

loadFromXml

  • loadFromXml(xmlNode: XmlNode): void
  • Parameters

    Returns void

saveToJsonObject

Generated using TypeDoc