System::Drawing::Pen::Pen 构造函数
内容
[
隐藏
]Pen::Pen(const Color&) constructor
构造一个表示指定颜色的新 Pen 对象。
System::Drawing::Pen::Pen(const Color &color)
| Parameter | Type | 描述 |
|---|---|---|
| color | const Color& | 正在构造的对象所表示的笔的颜色 |
另见
- Class Color
- Class Pen
- Namespace System::Drawing
- Library Aspose.Page for C++
Pen::Pen(const Color&, float) constructor
构造一个表示指定颜色和宽度的新 Pen 对象。
System::Drawing::Pen::Pen(const Color &color, float width)
| Parameter | Type | 描述 |
|---|---|---|
| color | const Color& | 正在构造的对象所表示的笔的颜色 |
| width | 单精度浮点数 | 正在构造的对象所表示的笔的宽度 |
另见
- Class Color
- Class Pen
- Namespace System::Drawing
- Library Aspose.Page for C++
Pen::Pen(const SharedPtr<Brush>&) constructor
构造一个新的 Pen 对象,并使用指定的 Brush 对象进行初始化。
System::Drawing::Pen::Pen(const SharedPtr<Brush> &brush)
| Parameter | Type | 描述 |
|---|---|---|
| brush | const SharedPtr<Brush>& | 正在构造的对象所表示的笔的填充属性由此 Brush 对象指定 |
另见
- Typedef SharedPtr
- Class Brush
- Class Pen
- Namespace System::Drawing
- Library Aspose.Page for C++
Pen::Pen(const SharedPtr<Brush>&, float) constructor
构造一个新的 Pen 对象,并使用指定的 Brush 对象进行初始化。
System::Drawing::Pen::Pen(const SharedPtr<Brush> &brush, float width)
| Parameter | Type | 描述 |
|---|---|---|
| brush | const SharedPtr<Brush>& | 正在构造的对象所表示的笔的填充属性由此 Brush 对象指定 |
| width | 单精度浮点数 | 正在构造的对象所表示的笔的宽度 |
另见
- Typedef SharedPtr
- Class Brush
- Class Pen
- Namespace System::Drawing
- Library Aspose.Page for C++