Fill
نظرة عامة
Fill هو struct في Aspose.Cells FOSS للـ Rust. يُورث من: Debug, Clone, PartialEq, و 3 أخرى.
يمثل واجهة نمط خلية قابلة للتعديل يمكن تطبيقها على خلية واحدة أو أكثر.
يعلن هذا struct عن 9 أساليب لكائنات Fill في برامج Rust. تشمل الأساليب المتاحة: clear_background_color, clear_foreground_color, get_background_color, get_foreground_color, get_pattern, new, set_background_color, set_foreground_color, set_pattern. الأعضاء العامة متاحة لأي تطبيق Rust بعد تثبيت حزمة Aspose.Cells FOSS للـ Rust. الحقول: background_color, foreground_color, pattern.
الحقول
| اسم | النوع | الوصول | وصف |
|---|---|---|---|
pattern | FillPattern | قراءة/كتابة | يحصل على النمط. |
foreground_color | Option<String> | قراءة/كتابة | يحصل على لون المقدمة. |
background_color | Option<String> | قراءة/كتابة | يحصل على لون الخلفية. |
الطرق
| التوقيع | وصف |
|---|---|
new() → Self | يُهيئ مثيلًا جديدًا. |
get_pattern() → FillPattern | يحصل على نمط التعبئة. |
set_pattern(value: FillPattern) | يضبط نمط التعبئة. |
get_foreground_color() → Option<&str> | يحصل على لون المقدمة للملء. |
set_foreground_color(value: impl Into<String>) | يضبط لون المقدمة للتعبئة. |
clear_foreground_color() | يمسح لون المقدمة. |
get_background_color() → Option<&str> | يحصل على لون خلفية التعبئة. |
set_background_color(value: impl Into<String>) | يضبط لون خلفية التعبئة. |
clear_background_color() | يمسح لون الخلفية. |