Optional
fillOptional
heightSpecify the width of the rectangle.
image.height
Optional
originOrigin of the rectangle relative to a parent image (top-left corner).
{row: 0, column: 0}
Optional
outImage to which the resulting image has to be put.
Optional
strokeColor of the rectangle's border. Should be an array of N elements (e.g. R, G, B or G, A), N being the number of channels.
A black pixel.
Optional
widthSpecify the width of the rectangle.
image.width
Rectangle fill color array of N elements (e.g. R, G, B or G, A), N being the number of channels.