Skip to content

Function: createBox() ​

ts
function createBox(
   x, 
   y, 
   width, 
   height, 
   styles): Box;

Parameters ​

x ​

number = 0

y ​

number = 0

width ​

number = 100

height ​

number = 50

styles ​

Partial<BoxStyle> = ...

Returns ​

Box