Enum Format
אופן הלימוד
טיפוסים בני מנייה (enum) שמייצגים את הפורמט של תמונת המפה.
כדי לקרוא לטיפוסים בני מנייה (enum), צריך לקרוא למחלקה, לשם ולנכס ההורה שלהם. לדוגמה,
Maps.Format.PNG
.
כדאי לעיין גם בפרטים הבאים
תכונות
נכס | תיאור | התיאור |
PNG | Enum | פורמט PNG עם 8 ביט. |
PNG8 | Enum | פורמט PNG עם 8 ביט. |
PNG32 | Enum | פורמט PNG של 32 סיביות. |
GIF | Enum | פורמט GIF. |
JPG | Enum | פורמט JPEG. |
JPG_BASELINE | Enum | פורמט JPEG לא הדרגתי. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2023-12-01 (שעון UTC).
[null,null,["עדכון אחרון: 2023-12-01 (שעון UTC)."],[[["`Maps.Format` is an enum used to specify the format of a map image."],["Available formats include PNG (8-bit and 32-bit), GIF, and JPEG (including a non-progressive option)."],["The enum is called using the syntax `Maps.Format.\u003cformat_property\u003e`, such as `Maps.Format.PNG`."],["More details about image formats can be found in the Google Static Maps API documentation."]]],["The `Maps.Format` enum defines the image format for maps, accessed via its parent class, name, and property (e.g., `Maps.Format.PNG`). Available formats include `PNG`, `PNG8`, `PNG32` (all PNG variations), `GIF`, `JPG`, and `JPG_BASELINE` (non-progressive JPEG). Each property represents a different image encoding, with the `Type` specified as `Enum` and providing information on whether the image is 8 or 32 bit.\n"]]