Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ILength<T>

Provides a set of aliases that must be implemented in classes that extend the interface. These provide helpful named properties for accessing the divisions in the context of colours.

example
Strawman example ```ts const length = new Length(); length.small; // -> 12; length.normal; // -> 16; length.large; // -> 24; ```

Type parameters

  • T

Hierarchy

Implemented by

Index

Properties

huge

huge: T

Usually accesses division 900

large

large: T

Usually accesses division 600

larger

larger: T

Usually accesses division 700

largest

largest: T

Usually accesses division 800

normal

normal: T

Usually accesses division 500

small

small: T

Usually accesses division 400

smaller

smaller: T

Usually accesses division 300

smallest

smallest: T

Usually accesses division 200

tiny

tiny: T

Usually accesses division 100