protected void Draw(PaintArgs p, Rectangle r, ShapeBasic type, BevelStyle style, int thickness, Color color) { switch (type) { case ShapeBasic.Rectangle: BorderSpecial.DrawRectangle(p, r, style, thickness, color); break; case ShapeBasic.Ellipse: BorderSpecial.DrawEllipse(p, r, style, (float)thickness, color); break; case ShapeBasic.Diamond: BorderSpecial.DrawDiamond(p, r, style, thickness, color); break; } }
void IBevelThick.Draw(PaintArgs p, Rectangle r, ShapeBasic type, BevelStyle style, int thickness, Color color) { this.Draw(p, r, type, style, thickness, color); }
void IBevelThick.Draw(PaintArgs p, Rectangle r, ShapeBasic type, Color color) { this.Draw(p, r, type, color); }
protected void Draw(PaintArgs p, Rectangle r, ShapeBasic type, Color color) { this.Draw(p, r, type, this.Style, this.Thickness, color); }