PeachImage

PeachImage.ResizeOptions

ResizeOptions.BackgroundColor Property

The fill color used by Pad for the padded border around the source. When null, defaults to white if the target PixelFormat has no alpha channel, or transparent if it does. Ignored for every other ResizeMode.

public System.Nullable<(byte R,byte G,byte B,byte A)> BackgroundColor { get; init; }

Property Value

System.Nullable<<System.Byte,System.Byte,System.Byte,System.Byte>>