Enum ImageStyle
이미지스타일
이미지 자르기 스타일을 정의하는 enum입니다.
enum을 호출하려면 상위 클래스, 이름, 속성을 호출합니다. 예를 들면
CardService.ImageStyle.SQUARE
입니다.
속성
속성 | 유형 | 설명 |
SQUARE | Enum | 자르지 않습니다. 기본값입니다. |
CIRCLE | Enum | 원형으로 자릅니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-12-02(UTC)
[null,null,["최종 업데이트: 2024-12-02(UTC)"],[[["`ImageStyle` is an enum used to define how an image will be cropped within a card."],["There are two cropping options: `SQUARE` (default, no cropping) and `CIRCLE` (crops the image into a circle)."],["To use an `ImageStyle`, call it using the format `CardService.ImageStyle.PROPERTY`, for example, `CardService.ImageStyle.SQUARE`."]]],["The `ImageStyle` enum defines image cropping options. It's accessed via `CardService.ImageStyle.PROPERTY`. The available properties are `SQUARE`, which is the default and applies no cropping, and `CIRCLE`, which crops the image into a circular shape. These properties allow control over how images are displayed within a given card service. The type of each property is `Enum`.\n"]]