Table of Contents

Method FromBgraClamped

Namespace
PaintDotNet
Assembly
PaintDotNet.Core.dll

FromBgraClamped(int, int, int, int)

Creates a new ColorBgra instance with the given color and alpha values.

public static ColorBgra FromBgraClamped(int b, int g, int r, int a)

Parameters

b int
g int
r int
a int

Returns

ColorBgra

FromBgraClamped(float, float, float, float)

Creates a new ColorBgra instance with the given color and alpha values.

public static ColorBgra FromBgraClamped(float b, float g, float r, float a)

Parameters

b float
g float
r float
a float

Returns

ColorBgra