Exemplo n.º 1
0
 public void FillRectangle(Position position, Dimensions size)
 {
     graphics.FillRectangle(GetBrush(), position.X, position.Y, size.Width, size.Height);
 }
Exemplo n.º 2
0
 public Paintable(float width, float height)
 {
     Size = new Dimensions(width, height);
 }
Exemplo n.º 3
0
 public void DrawRectangle(Position position, Dimensions size)
 {
     graphics.DrawRectangle(GetPen(), position.X, position.Y, size.Width, size.Height);
 }