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