Method FromRgb
FromRgb(byte, byte, byte, bool)
Creates a new instance of the ImageBackgroundColor struct from RGB values a flag indicating whether to skip applying the color if transparency is supported.
Declaration
public static ImageBackgroundColor FromRgb(byte r, byte g, byte b, bool skipIfTransparencySupported = false)
Parameters
| Type | Name | Description |
|---|---|---|
| byte | r | |
| byte | g | |
| byte | b | |
| bool | skipIfTransparencySupported |
Returns
| Type | Description |
|---|---|
| ImageBackgroundColor |