SKPixmap.GetPixelColor(Int32, Int32) Method

Definition

Returns the color of the pixel at the specified coordinates.

public SkiaSharp.SKColor GetPixelColor (int x, int y);

Parameters

x
Int32

The column index, zero or greater, and less than the pixmap width.

y
Int32

The row index, zero or greater, and less than the pixmap height.

Returns

Returns the color of the pixel.

Applies to