Esempio n. 1
0
 public void FillPath(Brush brush, GraphicsPath path)
 {
     if (path != null && path.PointCount != 0)
     {
         RenderingObject.FillPath(brush, path);
     }
 }
Esempio n. 2
0
        /// <summary>
        /// Fills the interior of a GraphicsPath object.
        /// </summary>
        /// <param name="brush">Brush object that determines the characteristics of the fill.</param>
        /// <param name="path">GraphicsPath object that represents the path to fill.</param>
        internal void FillPath(
            Brush brush,
            GraphicsPath path
            )
        {
            // Check if path is empty
            if (path == null ||
                path.PointCount == 0)
            {
                return;
            }

            RenderingObject.FillPath(brush, path);
        }
 public void FillPath(Brush brush, GraphicsPath path, float angle, bool useBrushOffset, bool circularFill)
 {
     RenderingObject.FillPath(brush, path, angle, useBrushOffset, circularFill);
 }
 public void FillPath(Brush brush, GraphicsPath path)
 {
     RenderingObject.FillPath(brush, path);
 }