Library globals

Function globals . canvas . api . group . Group . rect

View source

Create a path child drawing a (rounded) rectangle

@param x        Position of left border
@param y        Position of top border
@param w        Width
@param h        Height
@param cfg    Optional settings (eg. {"border-top-radius": 5})

Parameters

x

y

w

h

cfg
optional