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)
| 参数 | 类型 | 描述 |
|---|---|---|
| brush | const SharedPtr<Brush>& | 用于填充的 Brush 对象 |
| x | float | 要填充的矩形左上角的 X 坐标 |
| y | float | 要填充的矩形左上角的 Y 坐标 |
| width | float | 要填充的矩形的宽度 |
| height | float | 要填充的矩形的高度 |
另见
- Typedef SharedPtr
- Class Brush
- Class Graphics
- Namespace System::Drawing
- Library Aspose.Font 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)
| 参数 | 类型 | 描述 |
|---|---|---|
| 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.Font for C++
Graphics::FillRectangle(const SharedPtr<Brush>&, Rectangle) method
使用指定的画笔填充指定的矩形。
void System::Drawing::Graphics::FillRectangle(const SharedPtr<Brush> &brush, Rectangle rect)
| 参数 | 类型 | 描述 |
|---|---|---|
| brush | const SharedPtr<Brush>& | 用于填充的 Brush 对象 |
| rect | Rectangle | 一个 Rectangle 对象,指定要填充的矩形的位置和大小 |
另见
- Typedef SharedPtr
- Class Brush
- Class Rectangle
- Class Graphics
- Namespace System::Drawing
- Library Aspose.Font for C++
Graphics::FillRectangle(const SharedPtr<Brush>&, RectangleF) method
使用指定的画笔填充指定的矩形。
void System::Drawing::Graphics::FillRectangle(const SharedPtr<Brush> &brush, RectangleF rect)
| 参数 | 类型 | 描述 |
|---|---|---|
| brush | const SharedPtr<Brush>& | 用于填充的 Brush 对象 |
| rect | RectangleF | 一个 RectangleF 对象,指定要填充的矩形的位置和大小 |
另见
- Typedef SharedPtr
- Class Brush
- Class RectangleF
- Class Graphics
- Namespace System::Drawing
- Library Aspose.Font for C++