System::Drawing::Graphics::FillRectangle 方法
内容
[
隐藏
]Graphics::FillRectangle(const SharedPtr<Brush>&, float, float, float, float) method
使用指定的画笔填充指定的矩形。
void System::Drawing::Graphics::FillRectangle(const SharedPtr<Brush> &brush, float x, float y, float width, float height)
| Parameter | Type | 描述 |
|---|---|---|
| brush | const SharedPtr<Brush>& | 用于填充的 Brush 对象 |
| x | 单精度浮点数 | 要填充的矩形左上角的 X 坐标 |
| y | 单精度浮点数 | 要填充的矩形左上角的 Y 坐标 |
| width | 单精度浮点数 | 要填充的矩形的宽度 |
| height | 单精度浮点数 | 要填充的矩形的高度 |
另见
- Typedef SharedPtr
- Class Brush
- Class Graphics
- Namespace System::Drawing
- Library Aspose.Page for C++
Graphics::FillRectangle(const SharedPtr<Brush>&, int, int, int, int) method
使用指定的画笔填充指定的矩形。
void System::Drawing::Graphics::FillRectangle(const SharedPtr<Brush> &brush, int x, int y, int width, int height)
| Parameter | Type | 描述 |
|---|---|---|
| brush | const SharedPtr<Brush>& | 用于填充的 Brush 对象 |
| x | int | 要填充的矩形左上角的 X 坐标 |
| y | int | 要填充的矩形左上角的 Y 坐标 |
| width | int | 要填充的矩形的宽度 |
| height | int | 要填充的矩形的高度 |
另见
- Typedef SharedPtr
- Class Brush
- Class Graphics
- Namespace System::Drawing
- Library Aspose.Page for C++
Graphics::FillRectangle(const SharedPtr<Brush>&, Rectangle) method
使用指定的画笔填充指定的矩形。
void System::Drawing::Graphics::FillRectangle(const SharedPtr<Brush> &brush, Rectangle rect)
| Parameter | Type | 描述 |
|---|---|---|
| brush | const SharedPtr<Brush>& | 用于填充的 Brush 对象 |
| rect | Rectangle | 一个指定要填充的矩形位置和大小的 Rectangle 对象 |
另见
- Typedef SharedPtr
- Class Brush
- Class Rectangle
- Class Graphics
- Namespace System::Drawing
- Library Aspose.Page for C++
Graphics::FillRectangle(const SharedPtr<Brush>&, RectangleF) method
使用指定的画笔填充指定的矩形。
void System::Drawing::Graphics::FillRectangle(const SharedPtr<Brush> &brush, RectangleF rect)
| Parameter | Type | 描述 |
|---|---|---|
| brush | const SharedPtr<Brush>& | 用于填充的 Brush 对象 |
| rect | RectangleF | 一个指定要填充的矩形位置和大小的 RectangleF 对象 |
另见
- Typedef SharedPtr
- Class Brush
- Class RectangleF
- Class Graphics
- Namespace System::Drawing
- Library Aspose.Page for C++