Table of Contents

Method GetAlpha

Namespace
DocWright.Core.Imaging
Assembly
DocWright.Core.dll

GetAlpha(int, int)

Reads one pixel's alpha, or 255 when the image is opaque.

public byte GetAlpha(int x, int y)

Parameters

x int

Pixel column.

y int

Pixel row.

Returns

byte

The alpha sample.