فئة 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 | يحصل أو يضبط لون الفراغات بين خطوط hatch. |
| تم التخلص | bool | r | يحصل على قيمة تشير إلى ما إذا كانت هذه المثيلة تم التخلص منها. |
| foreground_color | Color | r/w | يحصل أو يضبط لون خطوط hatch. |
| hatch_style | HatchStyle | r/w | يحصل أو يضبط نمط hatch لهذه الفرشاة. |
| opacity | float | r/w | يحصل أو يعيّن شفافية الفرشاة. يجب أن تكون القيمة بين 0 و 1. القيمة 0 تعني أن الفرشاة مرئية بالكامل، والقيمة 1 تعني أن الفرشاة غير شفافة بالكامل. |
Methods
| Name | الوصف |
|---|---|
| deep_clone() | ينشئ نسخة عميقة جديدة من Brush. |
Constructor: HatchBrush()
HatchBrush()
يُنشئ مثيلاً جديدًا من فئة HatchBrush
Method: deep_clone()
deep_clone()
ينشئ نسخة عميقة جديدة من Brush.
Returns
| نوع | الوصف |
|---|---|
| Brush | فرشاة جديدة Brush وهي النسخة العميقة من هذه الحالة من Brush. |