Library globals

Function globals . canvas . api . path . Path . square

View source

Add a (rounded) square to the path

@param x        Position of left border
@param y        Position of top border
@param l        length
@param cfg    Optional settings (eg. {"border-top-radius": 5})

Parameters

x

y

l

cfg
optional