Enum Color
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
رنگ شماره ای که رنگ های نامگذاری شده موجود برای استفاده در تصاویر نقشه را نشان می دهد.
برای فراخوانی یک enum، کلاس والد، نام و ویژگی آن را فراخوانی می کنید. برای مثال Maps.Color.BLACK
.
خواص
ویژگی | تایپ کنید | شرح |
---|
BLACK | Enum | |
BROWN | Enum | |
GREEN | Enum | |
PURPLE | Enum | |
YELLOW | Enum | |
BLUE | Enum | |
GRAY | Enum | |
ORANGE | Enum | |
RED | Enum | |
WHITE | Enum | |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003e\u003ccode\u003eMaps.Color\u003c/code\u003e is an enum representing named colors for use in map images.\u003c/p\u003e\n"],["\u003cp\u003eAvailable color options include \u003ccode\u003eBLACK\u003c/code\u003e, \u003ccode\u003eBROWN\u003c/code\u003e, \u003ccode\u003eGREEN\u003c/code\u003e, \u003ccode\u003ePURPLE\u003c/code\u003e, \u003ccode\u003eYELLOW\u003c/code\u003e, \u003ccode\u003eBLUE\u003c/code\u003e, \u003ccode\u003eGRAY\u003c/code\u003e, \u003ccode\u003eORANGE\u003c/code\u003e, \u003ccode\u003eRED\u003c/code\u003e, and \u003ccode\u003eWHITE\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eTo use a color, call it using the format \u003ccode\u003eMaps.Color.[ColorName]\u003c/code\u003e, for example, \u003ccode\u003eMaps.Color.BLACK\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum Color\n\nColor\n\nAn enum representing the named colors available to use in map images.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nMaps.Color.BLACK`. \n\n### Properties\n\n| Property | Type | Description |\n|----------|--------|-------------|\n| `BLACK` | `Enum` | |\n| `BROWN` | `Enum` | |\n| `GREEN` | `Enum` | |\n| `PURPLE` | `Enum` | |\n| `YELLOW` | `Enum` | |\n| `BLUE` | `Enum` | |\n| `GRAY` | `Enum` | |\n| `ORANGE` | `Enum` | |\n| `RED` | `Enum` | |\n| `WHITE` | `Enum` | |"]]