Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
GridPadding.cs
2{
6 public class GridPadding : Padding
7 {
8 private readonly int colSpan;
9 private readonly int rowSpan;
10 private readonly int x;
11 private readonly int y;
12
23 public GridPadding(ILayoutElement Element, float OffsetX, float OffsetY,
24 int X, int Y, int ColSpan, int RowSpan)
25 : base(Element, OffsetX, OffsetY)
26 {
27 this.x = X;
28 this.y = Y;
29 this.colSpan = ColSpan;
30 this.rowSpan = RowSpan;
31 }
32
36 public int X => this.x;
37
41 public int Y => this.y;
42
46 public int ColSpan => this.colSpan;
47
51 public int RowSpan => this.rowSpan;
52
53 }
54}
Provides padding for a layout element in a grid.
Definition: GridPadding.cs:7
GridPadding(ILayoutElement Element, float OffsetX, float OffsetY, int X, int Y, int ColSpan, int RowSpan)
Provides padding for a layout element in a grid.
Definition: GridPadding.cs:23
Provides padding for a layout element in a group contruct.
Definition: Padding.cs:11
Base interface for all layout elements.