public static RadialGradient StretchTo(this RadialGradient gradient, RadialGradientStretch stretch) { gradient.Stretch = stretch; return(gradient); }
public static bool IsSide(this RadialGradientStretch stretch) => (int)stretch % 2 != 0;
public static bool IsCorner(this RadialGradientStretch stretch) => (int)stretch % 2 == 0;
public static bool IsFarthest(this RadialGradientStretch stretch) => (int)stretch >= 3;
public static bool IsClosest(this RadialGradientStretch stretch) => (int)stretch < 3;
public RadialGradientBuilder StretchTo(RadialGradientStretch stretch) { Stretch = stretch; return(this); }