## Bitmap.GetPixel method

获取此中指定像素的颜色Bitmap.

```csharp
public Color GetPixel(int x, int y)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| x | Int32 | 要检索的像素的 x 坐标。 |
| y | Int32 | 要检索的像素的 y 坐标。 |

### 返回值

一个Color表示指定像素颜色的结构。

### 也可以看看

* struct [Color](../../color)
* class [Bitmap](../../bitmap)
* 命名空间 [System.Drawing](../../bitmap)
* 部件 [Aspose.Drawing](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Drawing.dll -->
