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