Method WithAlpha
WithAlpha(byte)
Returns a new color based on this current instance, but with the new alpha channel value.
public Color WithAlpha(byte alpha)
Parameters
alpha
byteThe new alpha component.
Returns a new color based on this current instance, but with the new alpha channel value.
public Color WithAlpha(byte alpha)
alpha
byteThe new alpha component.