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;
}