Open.Core.Spacing.GetOffset C# (CSharp) Method

GetOffset() public method

Gets the edge offset for the given plane (HorizontalOffset or VerticalOffset).
public GetOffset ( Plane plane ) : int
plane Plane The X:Y plane to retrieve the offset for.
return int
        public int GetOffset(Plane plane)
        {
            return plane == Plane.Horizontal ? HorizontalOffset : VerticalOffset;
        }