Pinta.Core.ColorBgra.NewAlpha C# (CSharp) Method

NewAlpha() public method

Gets the equivalent GDI+ PixelFormat. Returns a new ColorBgra with the same color values but with a new alpha component value.
This property always returns PixelFormat.Format32bppArgb.
public NewAlpha ( byte newA ) : ColorBgra
newA byte
return ColorBgra
        public ColorBgra NewAlpha(byte newA)
        {
            return ColorBgra.FromBgra(B, G, R, newA);
        }