ColorPalette
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
'국제 공기질 지수' (UAQI)에서 제공하는 데이터에 사용되는 색상 팔레트를 결정합니다. 이 색상 팔레트는 UAQI에만 관련이 있으며, 다른 AQI에는 미리 정의된 색상 팔레트가 있으며 제어가 불가능합니다.
열거형 |
COLOR_PALETTE_UNSPECIFIED |
기본값입니다. 매개변수로 전달되면 무시됩니다. |
RED_GREEN |
빨간색/녹색 팔레트를 사용할지 결정합니다. |
INDIGO_PERSIAN_DARK |
남색/페르시아 팔레트 (어두운 테마)를 사용할지 결정합니다. |
INDIGO_PERSIAN_LIGHT |
남색/페르시아 팔레트 (밝은 테마)를 사용할지 결정합니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-31(UTC)
[null,null,["최종 업데이트: 2025-08-31(UTC)"],[[["\u003cp\u003eDefines the color scheme applied to data from the "Universal Air Quality Index" (UAQI).\u003c/p\u003e\n"],["\u003cp\u003eOffers a choice between a red/green palette or two indigo/persian palettes (one for dark themes and one for light themes).\u003c/p\u003e\n"],["\u003cp\u003eThis color palette selection only affects UAQI data visualization and does not apply to other AQIs, which use their own predetermined color palettes.\u003c/p\u003e\n"]]],[],null,["# ColorPalette\n\nDetermines the color palette used for the data provided by the \"Universal Air Quality Index\" (UAQI). This color palette is relevant just for UAQI, other AQIs have a predetermined color palette that can't be controlled.\n\n| Enums ||\n|-----------------------------|-------------------------------------------------------------------|\n| `COLOR_PALETTE_UNSPECIFIED` | The default value. Ignored if passed as a parameter. |\n| `RED_GREEN` | Determines whether to use a red/green palette. |\n| `INDIGO_PERSIAN_DARK` | Determines whether to use a indigo/persian palette (dark theme). |\n| `INDIGO_PERSIAN_LIGHT` | Determines whether to use a indigo/persian palette (light theme). |"]]