PeachDrawing

PeachDrawing.Filters.FilterOps

FilterOps.ZeroColor(RasterSurface) Method

Clears the colour of every pixel and keeps its alpha - a premultiplied pixel of alpha a and no colour is opaque black at that coverage, which is what SourceAlpha and BackgroundAlpha are.

public static void ZeroColor(PeachDrawing.Core.RasterSurface surface);

Parameters

surface RasterSurface