HatchBrush 类
Summary: Defines a rectangular brush with a hatch style, a foreground color, and a background color. This class cannot be inherited.
Module: aspose.imaging.brushes
Full Name: aspose.imaging.brushes.HatchBrush
Inheritance: Brush
Constructors
| Name | 描述 |
|---|---|
| HatchBrush() | 初始化 HatchBrush 类的新实例 |
Properties
| Name | Type | Access | 描述 |
|---|---|---|---|
| background_color | Color | r/w | 获取或设置栅格线之间空白的颜色。 |
| disposed | bool | r | 获取一个值,指示此实例是否已释放。 |
| foreground_color | Color | r/w | 获取或设置栅格线的颜色。 |
| hatch_style | HatchStyle | r/w | 获取或设置此画笔的栅格样式。 |
| opacity | float | r/w | 获取或设置画笔的不透明度。该值应在 0 到 1 之间。0 表示画笔完全可见,1 表示画笔完全不透明。 |
Methods
| Name | 描述 |
|---|---|
| deep_clone() | 创建当前 Brush 的新深度克隆。 |
Constructor: HatchBrush()
HatchBrush()
初始化 HatchBrush 类的新实例
Method: deep_clone()
deep_clone()
创建当前 Brush 的新深度克隆。
Returns
| Type | Description |
|---|---|
| Brush | 一个新的 Brush,它是此 Brush 实例的深度克隆。 |