public virtual void FillFigure(Point mouse) { if (_fillColor.IsNamedColor && _fillColor != Color.Transparent) { _fill = new FullFill(); _fill.Fill(mouse, _fillColor, _colorLine); } else { _fill = new EmptyFill(); } }
public static void FillPath(this Graphics g, IBrush brush, GraphicsPath path) { brush.Fill(g, path); }