PsdImageDocumentState
סקירה כללית
PsdImageDocumentState היא מחלקה ב Aspose.Psd FOSS עבור Python.
מאחסן מקטעי מסמך PSD/PSB מפורשים המשמשים את PsdImage.
מחלקה זו מגדירה 3 שיטות עבור עצמים PsdImageDocumentState בתוכניות Python. השיטות הזמינות כוללות: __init__, empty, with_layer_and_mask_section. החברים הציבוריים נגישים לכל יישום Python לאחר התקנת חבילת Aspose.Psd FOSS עבור Python. מאפיינים: ColorData, Empty, Header, ImageData, ImageResourcesSection, color_data, ועוד 4.
מאפיינים
| שם | סוג | גישה | תיאור |
|---|---|---|---|
Header | `PsdHeader | None` | קריאה |
ColorData | ColorData | קריאה | מקבל את נתוני הצבע. |
ImageResourcesSection | ImageResourcesSection | קריאה | מקבל את מדור משאבי התמונות. |
layer_and_mask_section | LayerAndMaskSection | קריאה | מקבל את חלק השכבות והמסכה. |
ImageData | ImageData | קריאה | מקבל את נתוני התמונה. |
Empty | "PsdImageDocumentState" | קריאה | מקבל את הריק. |
header | `` | קריאה | מקבל את הכותרת. |
color_data | `` | קריאה | מקבל את נתוני הצבע. |
image_resources_section | `` | קריאה | מקבל את מדור משאבי התמונה. |
image_data | `` | קריאה | מקבל את נתוני התמונה. |
שיטות
| חתימה | תיאור |
|---|---|
empty() → "PsdImageDocumentState" | מקבל מצב מסמך ריק לפני שזרם PSD/PSB נותח. |
| `init(header: PsdHeader | None, color_data: ColorData, image_resources_section: ImageResourcesSection, layer_and_mask_section: LayerAndMaskSection, image_data: ImageData)` |
with_layer_and_mask_section(layer_and_mask_section: LayerAndMaskSection) → "PsdImageDocumentState" | יוצר עותק של המצב עם סעיף Layer and Mask Information מוחלף. |