Skip to content
pixi-silk
GitHub repository
Type

Edges

import type { Edges } from 'pixi-silk/layout';
type Edges<T = Length> = 
  | T
  | readonly [T, T]
  | readonly [T, T, T]
  | readonly [T, T, T, T];

Box edges, as in CSS: one value for all sides, [vertical, horizontal], [top, horizontal, bottom] or [top, right, bottom, left].

Type Parameters#

Type ParameterDefault type
TLength