public GridTransform(CellBounds bounds)
 {
     LocalPosition = bounds.TopLeft;
     Width         = bounds.Width;
     Height        = bounds.Height;
     //LocalBounds = bounds;
 }
Exemple #2
0
 public static IEnumerable <GridGraphic> GetGraphicsInArea(CellBounds area)
 {
     return(GetGraphics().Where(graphic => graphic.Transform.Bounds.Intersects(area)));
 }