Enum ImageButtonStyle
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
이미지버튼스타일
ImageButton
의 스타일을 지정하는 enum입니다.
BORDERLESS
는 기본값입니다. 테두리가 없는 간단한 이미지 버튼을 렌더링합니다.
FILLED
버튼에는 ImageButton
로 설정할 수 있는 배경 색상이 있습니다.
enum을 호출하려면 상위 클래스, 이름, 속성을 호출합니다. 예를 들면
CardService.ImageButtonStyle.BORDERLESS
입니다.
속성
속성 | 유형 | 설명 |
BORDERLESS | Enum | 테두리가 없는 이미지 버튼 기본값입니다. |
OUTLINED | Enum | 배경이 깨끗한 이미지 버튼 |
FILLED | Enum | 배경색이 있는 이미지 버튼 |
FILLED_TONAL | Enum | 채워진 버튼과 윤곽선이 있는 버튼의 중간 지점에 있는 이미지 버튼 |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eImageButtonStyle is used to define the style of an ImageButton in Google Apps Script.\u003c/p\u003e\n"],["\u003cp\u003eThere are four styles available: \u003ccode\u003eBORDERLESS\u003c/code\u003e (default), \u003ccode\u003eOUTLINED\u003c/code\u003e, \u003ccode\u003eFILLED\u003c/code\u003e, and \u003ccode\u003eFILLED_TONAL\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach style provides a different visual appearance for the image button, such as background color and border presence.\u003c/p\u003e\n"],["\u003cp\u003eStyles are accessed using the parent class and property name, like \u003ccode\u003eCardService.ImageButtonStyle.BORDERLESS\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum ImageButtonStyle\n\nImageButtonStyle\n\nAn enum that specifies the style for [ImageButton](/apps-script/reference/card-service/image-button).\n\n\n`BORDERLESS` is the default; it renders a simple image button with no border.\n`FILLED` buttons have a background color you can set with [ImageButton](/apps-script/reference/card-service/image-button).\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCardService.ImageButtonStyle.BORDERLESS`. \n\n### Properties\n\n| Property | Type | Description |\n|----------------|--------|-------------------------------------------------------------------------------------|\n| `BORDERLESS` | `Enum` | Image button with no border. Default. |\n| `OUTLINED` | `Enum` | Image button with clear background. |\n| `FILLED` | `Enum` | Image button with colored background. |\n| `FILLED_TONAL` | `Enum` | Image button with an alternative middle ground between filled and outlined buttons. |"]]