GradientBrushHelper.GetRepresentativeColor method
Returns a single representative color for the gradient by sampling at the midpoint (t=0.5). Used as a fallback on backends that do not support gradients natively.
public static Color GetRepresentativeColor(this GradientBrush brush)See Also
Section titled “See Also”- struct Color
- class GradientBrush
- class GradientBrushHelper
- namespace Aprillz.MewUI.Rendering