Exemplo n.º 1
0
        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;
            }
        }
Exemplo n.º 2
0
 void IBevelThick.Draw(PaintArgs p, Rectangle r, ShapeBasic type, BevelStyle style, int thickness, Color color)
 {
     this.Draw(p, r, type, style, thickness, color);
 }
Exemplo n.º 3
0
 void IBevelThick.Draw(PaintArgs p, Rectangle r, ShapeBasic type, Color color)
 {
     this.Draw(p, r, type, color);
 }
Exemplo n.º 4
0
 protected void Draw(PaintArgs p, Rectangle r, ShapeBasic type, Color color)
 {
     this.Draw(p, r, type, this.Style, this.Thickness, color);
 }