Enum ImageStyle
इमेजस्टाइल
इमेज को काटने के स्टाइल की जानकारी देने वाला एन्सम.
किसी एनम को कॉल करने के लिए, उसकी पैरंट क्लास, नाम, और प्रॉपर्टी को कॉल किया जाता है. उदाहरण के लिए,
CardService.ImageStyle.SQUARE
.
प्रॉपर्टी
प्रॉपर्टी | टाइप | ब्यौरा |
SQUARE | Enum | काटा नहीं गया है. डिफ़ॉल्ट. |
CIRCLE | Enum | सर्कल के आकार में काटें. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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"]]