Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Border

Provides a concrete implementation of the IBorder interface. Can be customise the width and radius constants by passing IBorderOptions to the class. Contains a BorderRadius and BorderWidth

Hierarchy

  • Border

Implements

Index

Constructors

Properties

Constructors

constructor

  • new Border(__namedParameters?: object): Border
  • Parameters

    • Default value __namedParameters: object = {}
      • base: undefined | number | object
      • radius: undefined | IBorderRadius
      • scale: undefined | number | object
      • width: undefined | IBorderWidth

    Returns Border

Properties

radius

radius: Readonly<IRadius>

width

width: Readonly<IWidth>