Beispiel #1
0
 public void DrawPath(Pen pen, GraphicsPath path)
 {
     if (path != null && path.PointCount != 0)
     {
         RenderingObject.DrawPath(pen, path);
     }
 }
        /// <summary>
        /// Draws a GraphicsPath object.
        /// </summary>
        /// <param name="pen">Pen object that determines the color, width, and style of the path.</param>
        /// <param name="path">GraphicsPath object to draw.</param>
        internal void DrawPath(
            Pen pen,
            GraphicsPath path
            )
        {
            // Check if path is empty
            if (path == null ||
                path.PointCount == 0)
            {
                return;
            }

            RenderingObject.DrawPath(pen, path);
        }
 public void DrawPath(Pen pen, GraphicsPath path)
 {
     RenderingObject.DrawPath(pen, path);
 }