FromOtherWithAlpha

FromOtherWithAlpha(Argb32Color, byte)

Creates a new Argb32Color instance from specified, but with re-defined alpha (opacity) value

public static Argb32Color FromOtherWithAlpha(Argb32Color other, byte newAlpha)
Parameter Type Description
other Argb32Color Other Argb32Color instance, from which the new one will be created
newAlpha Byte Re-defined alpha channel value (255 - fully opaque, 0 - fully transparent)

Return Value

New Argb32Color instance

See Also


FromOtherWithAlpha(Rgb24Color, byte)

Creates a new Argb32Color instance from specified Rgb24Color, but with specified alpha (opacity) value

public static Argb32Color FromOtherWithAlpha(Rgb24Color other, byte newAlpha)
Parameter Type Description
other Rgb24Color Other Rgb24Color instance, from which the new one will be created
newAlpha Byte Alpha channel value (255 - fully opaque, 0 - fully transparent)

Return Value

New Argb32Color instance

See Also