Enum Format
Формат Перечисление, представляющее формат изображения карты.
Чтобы вызвать перечисление, вы вызываете его родительский класс, имя и свойство. Например, Maps.Format.PNG
.
Смотрите также
Характеристики
Свойство | Тип | Описание |
---|
PNG | Enum | 8-битный формат PNG. |
PNG8 | Enum | 8-битный формат PNG. |
PNG32 | Enum | 32-битный формат PNG. |
GIF | Enum | GIF-формат. |
JPG | Enum | Формат JPEG. |
JPG_BASELINE | Enum | Непрогрессивный формат JPEG. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2024-10-25 UTC.
[null,null,["Последнее обновление: 2024-10-25 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"]]