OptionalfillOptionalheightSpecify the width of the rectangle.
OptionaloriginOrigin of the rectangle relative to a parent image (top-left corner).
OptionaloutImage to which the resulting image has to be put.
OptionalstrokeColor 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.
OptionalwidthSpecify the width of the rectangle.
Rectangle fill color array of N elements (e.g. R, G, B or G, A), N being the number of channels.