Enum Color
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
色
地図画像で使用できる名前付きの色を表す列挙型。
列挙型を呼び出すには、親クラス、名前、プロパティを呼び出します。たとえば、
Maps.Color.BLACK
のようにします。
プロパティ
プロパティ | 種類 | 説明 |
BLACK | Enum | |
BROWN | Enum | |
GREEN | Enum | |
PURPLE | Enum | |
YELLOW | Enum | |
BLUE | Enum | |
GRAY | Enum | |
ORANGE | Enum | |
RED | Enum | |
WHITE | Enum | |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 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` | |"]]