public override void Draw(IGraphics gp) { SolidBrush sb = new SolidBrush(ShapeColour); PointF[] apoints = PolyPoints.ToArray(); gp.FillClosedCurve(sb, apoints, ShapeFillMode, Tension); }
public override void Draw(IGraphics gp) { SolidBrush sb = new SolidBrush(ShapeColour); Pen pb = new Pen(sb); PointF[] apoints = PolyPoints.ToArray(); gp.FillPolygon(sb, apoints); }
public override void Draw(IGraphics gp) { Pen pb = new Pen(ShapeColour); pb.Width = Width; PointF[] apoints = PolyPoints.ToArray(); gp.DrawLines(pb, apoints); }