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 - An array of numerical values, one for each channel of the image. If less values are defined than there are channels in the image, the remaining channels will be set to 0.
OptionalwidthSpecify the width of the rectangle.
Rectangle fill color - An array of numerical values, one for each channel of the image. If less values are defined than there are channels in the image, the remaining channels will be set to 0.