PeachDrawing

PeachDrawing.RasterSurfaceEncoding

RasterSurfaceEncoding.IsOpaque(RasterSurface) Method

Whether every pixel of surface is fully opaque, so it needs no alpha plane (and no soft mask) to embed.

public static bool IsOpaque(PeachDrawing.Core.RasterSurface surface);

Parameters

surface RasterSurface

Returns

System.Boolean