Detailed eXplanation & eXamples of Aspose.Imaging for Java library so you may easily integrate Image Processing capabilities with your own apps....drawRectangle ( Pen pen, int x, int y, int width, int height)...fillRectangle ( Pen pen, Brush brush, int x, int y, int width, int height)...