ImageGrayscaleMask.Item

ImageGrayscaleMask indexer

Gets or sets the opacity of the specified pixel.

public byte this[int x, int y] { get; set; }
ParameterDescription
xThe x-coordinate of the pixel.
yThe y-coordinate of the pixel.

Property Value

Byte value; 0 if transparent; 255 if opaque.

See Also