/// <summary> /// Draws a rectangle specified by a coordinate pair, a width, and a height. /// </summary> /// <param name="pen">A Pen that determines the color, width, and style of the rectangle. </param> /// <param name="x">The x-coordinate of the upper-left corner of the rectangle to draw. </param> /// <param name="y">The y-coordinate of the upper-left corner of the rectangle to draw. </param> /// <param name="width">The width of the rectangle to draw. </param> /// <param name="height">The height of the rectangle to draw. </param> public abstract void DrawRectangle(RPen pen, double x, double y, double width, double height);
/// <summary> /// Draws a GraphicsPath. /// </summary> /// <param name="pen">Pen that determines the color, width, and style of the path. </param> /// <param name="path">GraphicsPath to draw. </param> public abstract void DrawPath(RPen pen, RGraphicsPath path);
/// <summary> /// Draws a line connecting the two points specified by the coordinate pairs. /// </summary> /// <param name="pen">Pen that determines the color, width, and style of the line. </param> /// <param name="x1">The x-coordinate of the first point. </param> /// <param name="y1">The y-coordinate of the first point. </param> /// <param name="x2">The x-coordinate of the second point. </param> /// <param name="y2">The y-coordinate of the second point. </param> public abstract void DrawLine(RPen pen, double x1, double y1, double x2, double y2);