Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IBorderWidthOptions

Options for the BorderWidth class. There are no options required but can be provided to customise the default scaling that the class does. It inherits from the ILengthOptions so the same rules apply to customising the divisions as with those options.

Hierarchy

  • object
    • IBorderWidthOptions

Index

Properties

Properties

Optional scale

scale: undefined | number

The scale that is used between divisions. This will change how the border width values increase between divisions and aliases (as aliases just pull the division values). The default value is 2. With a base value of 8 would result in the following divisions:

{
  "100": 0.5
  "200": 1
  "300": 2
  "400": 4
  "500": 8
  "600": 16
  "700": 32
  "800": 64
  "900": 128
}