Enum Color
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
रंग
मैप इमेज में इस्तेमाल करने के लिए उपलब्ध, नामों के रंगों को दिखाने वाली Enum.
किसी Enum को कॉल करने के लिए, आपको उसकी पैरंट क्लास, नाम, और प्रॉपर्टी को कॉल करना होता है. उदाहरण के लिए,
Maps.Color.BLACK
.
प्रॉपर्टी
प्रॉपर्टी | Type | ब्यौरा |
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 और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\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` | |"]]