public int GetOffset(Plane plane) { return plane == Plane.Horizontal ? HorizontalOffset : VerticalOffset; }