public TextGraphicsObject(decimal x, decimal y, string text, decimal?width, GraphicsWindowStyles styles) : base(styles) { this.X = x; this.Y = y; this.Text = text; this.Width = width; }
public TurtleShape(GraphicsWindowStyles styles) : base(new TurtleGraphicsObject(styles)) { }
public EllipseShape(decimal width, decimal height, GraphicsWindowStyles styles) : base(new EllipseGraphicsObject(x: 0, y: 0, width, height, styles)) { }
public EllipseGraphicsObject(decimal x, decimal y, decimal width, decimal height, GraphicsWindowStyles styles) : base(styles) { this.X = x + width; this.Y = y + height; this.Width = width; this.Height = height; }
public TextShape(string text, GraphicsWindowStyles styles) : base(new TextGraphicsObject(x: 0, y: 0, text, width: default, styles))
public RectangleGraphicsObject(decimal x, decimal y, decimal width, decimal height, GraphicsWindowStyles styles) : base(styles) { this.X = x; this.Y = y; this.Width = width; this.Height = height; }
public ImageShape(string imageName, decimal width, decimal height, GraphicsWindowStyles styles) : base(new ImageGraphicsObject(x: 0, y: 0, scaleX: 1, scaleY: 1, imageName, styles)) { this.width = width; this.height = height; }
public ImageGraphicsObject(decimal x, decimal y, decimal scaleX, decimal scaleY, string name, GraphicsWindowStyles styles) : base(styles) { this.X = x; this.Y = y; this.ScaleX = scaleX; this.ScaleY = scaleY; this.Name = name; }
public TriangleGraphicsObject(decimal x1, decimal y1, decimal x2, decimal y2, decimal x3, decimal y3, GraphicsWindowStyles styles) : base(styles) { this.X1 = x1; this.Y1 = y1; this.X2 = x2; this.Y2 = y2; this.X3 = x3; this.Y3 = y3; }
protected BaseGraphicsObject(GraphicsWindowStyles styles) { this.Styles = styles; }
public RectangleShape(decimal width, decimal height, GraphicsWindowStyles styles) : base(new RectangleGraphicsObject(x: 0, y: 0, width, height, styles)) { }
public LineShape(decimal x1, decimal y1, decimal x2, decimal y2, GraphicsWindowStyles styles) : base(new LineGraphicsObject(x1, y1, x2, y2, styles)) { }
public TriangleShape(decimal x1, decimal y1, decimal x2, decimal y2, decimal x3, decimal y3, GraphicsWindowStyles styles) : base(new TriangleGraphicsObject(x1, y1, x2, y2, x3, y3, styles)) { }
public TurtleGraphicsObject(GraphicsWindowStyles styles) : base(styles) { }