Table of Contents

Method ClearTransparentColors

Namespace
PaintDotNet.Rendering
Assembly
PaintDotNet.Primitives.dll

ClearTransparentColors(RegionPtr<ColorBgra32>)

For pixels whose alpha value is zero, sets the color channels to zero as well.

public static void ClearTransparentColors(RegionPtr<ColorBgra32> region)

Parameters

region RegionPtr<ColorBgra32>