Ejemplo n.º 1
0
 public virtual void AttachLayout(IElementLayout layout)
 {
     if (this.Layouts == null)
     {
         this.Layouts = new List <IElementLayout>();
     }
     this.Layouts.Add(layout);
 }
Ejemplo n.º 2
0
 public GraphicsLine(IElementLayout element1, IElementLayout element2, Brush fill)
 {
     X1        = element1.X;
     Y1        = element1.Y;
     X2        = element2.X;
     Y2        = element2.Y;
     Thickness = 2;
     Fill      = fill;
 }
Ejemplo n.º 3
0
 public GraphicsElement(IElementLayout element, Brush fill)
 {
     Element = element;
     Model   = GraphicsModelMapping.Instance.GetGraphicsModel(Element.IO);
     Fill    = fill;
 }