Rectangle & RectangleF
IronDrawing provides two classes that allow you to draw a ractangle at a particular coordinates: IronSoftware.Drawing.Rectangle
and IronSoftware.Drawing.RectangleF
. The classes contains a set of four parameters that would represent the locations and size of the ractangle drawn. The classes take x
and y
coordinates from the Left-Top corner of the page as an int for Rectangle
and as a float for RecctangleF
in the first two parameters. The last two paramaters would represnet the width
and height
of the rectangle: the variable types taken are the same as indicated for x
and y
coordinate parameters. The default unit of both classes is in pixels.