Click or drag to resize

ColorInvert Method

Inverts the RGB color values

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
public void Invert()
This inverts the color components (other than the alpha component) by making them equal to the 1 minus the component's value. This is useful for when you want to show a highlighted color but still show the variation in colors.
See Also