تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003e\u003ccode\u003eImageStyle\u003c/code\u003e is an enum used to define how an image will be cropped within a card.\u003c/p\u003e\n"],["\u003cp\u003eThere are two cropping options: \u003ccode\u003eSQUARE\u003c/code\u003e (default, no cropping) and \u003ccode\u003eCIRCLE\u003c/code\u003e (crops the image into a circle).\u003c/p\u003e\n"],["\u003cp\u003eTo use an \u003ccode\u003eImageStyle\u003c/code\u003e, call it using the format \u003ccode\u003eCardService.ImageStyle.PROPERTY\u003c/code\u003e, for example, \u003ccode\u003eCardService.ImageStyle.SQUARE\u003c/code\u003e.\u003c/p\u003e\n"]]],["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"],null,["# Enum ImageStyle\n\nImageStyle\n\nAn enum that defines an image cropping style.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCardService.ImageStyle.SQUARE`. \n\n### Properties\n\n| Property | Type | Description |\n|----------|--------|-------------------------|\n| `SQUARE` | `Enum` | No cropping. Default. |\n| `CIRCLE` | `Enum` | Crop to a circle shape. |"]]