コード例 #1
0
ファイル: Circle.cs プロジェクト: cosminonea/Drawings
 public Circle(Location location, int diameter)
     : base(location)
 {
     this.diameter = diameter;
 }
コード例 #2
0
ファイル: TextBlock.cs プロジェクト: cosminonea/Drawings
 public TextBlock(Location location, int width, int height, string text)
     : base(location, width, height)
 {
     this.text = text;
 }
コード例 #3
0
ファイル: Rectangle.cs プロジェクト: cosminonea/Drawings
 public Rectangle(Location location, int width, int height)
     : base(location)
 {
     Width = width;
     Height = height;
 }
コード例 #4
0
ファイル: Ellipse.cs プロジェクト: cosminonea/Drawings
 public Ellipse(Location location, int horizontalDiameter, int verticalDiameter)
     : base(location)
 {
     this.horizontalDiameter = horizontalDiameter;
     this.verticalDiameter = verticalDiameter;
 }
コード例 #5
0
ファイル: Square.cs プロジェクト: cosminonea/Drawings
 public Square(Location location, int width)
     : base(location)
 {
     this.width = width;
 }