Пример #1
0
 public BackgroundGraphic()
 {
     ID = 0;
     Bounds = new Bounds (0, 0, 0, 0);
     Class = BackgroundGraphicClass.SolidGraphic;
     Shadow = new ShadowInfo () { Draws = false };
     DrawStroke = false;
 }
Пример #2
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>();
        }