コード例 #1
0
 public Ellipsis(OurPoint center, int width, int height, string color = "Red", string borderColor = "Red", int widthB = 2, bool fill = true)
     : base(center, 0, color, borderColor, widthB, fill)
 {
     WidthX      = width;
     Height      = height;
     Width       = widthB;
     BorderColor = borderColor;
 }
コード例 #2
0
ファイル: Text.cs プロジェクト: FoxGriVer/Computer-graphics
 public Text(string text, OurPoint point, string font = "Arial", int size = 8, string color = "Red")
 {
     TextBox  = text;
     Pozition = point;
     Font     = font;
     Size     = size;
     Color    = color;
 }
コード例 #3
0
 public Cirlcle(OurPoint center, int radius, string color = "Red", string borderColor = "Red", int widthB = 2, bool fill = true)
 {
     Center      = center;
     Radius      = radius;
     Color       = color;
     Fill        = fill;
     BorderColor = borderColor;
     Width       = widthB;
 }
コード例 #4
0
ファイル: Bizie.cs プロジェクト: FoxGriVer/Computer-graphics
 public Bizie(OurPoint startPoint, OurPoint endPoint, OurPoint mejPoint1, OurPoint mejPoint2, int width = 2, string color = "Red")
 {
     StartPoint = startPoint;
     EndPoint   = endPoint;
     MejPoint1  = mejPoint1;
     MejPoint2  = mejPoint2;
     Width      = width;
     Color      = color;
 }
コード例 #5
0
 public Rectangle(OurPoint startPoint, int widthX, int height, string color = "Red", string borderColor = "Red", int widthB = 2, bool fill = true)
 {
     Width       = widthB;
     BorderColor = borderColor;
     StartPoint  = startPoint;
     WidthX      = widthX;
     Height      = height;
     Color       = color;
     Fill        = fill;
 }
コード例 #6
0
 public void AddNode(OurPoint point)
 {
     listOfPoints.Add(point);
 }