Example #1
0
        public ShapedGraphic(int id, Shape shape, double x1, double y1, double x2, double y2)
            : base(id)
        {
            Class = "ShapedGraphic";

            Bounds = new Bounds (x1, y1, x2, y2);
            this.Shape = shape;
            this.ShapeData = new ShapeData ();

            FontInfo = new FontInfo ();
            Style = new StyleInfo ();

            VFlip = false;
            HFlip = false;
            AllowConnections = true;
            Line = null;
            Wrap = true;

            Magnets = new List<Point>();
        }
Example #2
0
        public LineGraphic(int id)
            : base(id)
        {
            Class = "LineGraphic";

            Points = new List<Point> ();
            Style = new StyleInfo ();
        }