GridDimensions
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
ابعاد یک شبکه پیکسلی را مشخص می کند.
نمایندگی JSON |
---|
{
"width": integer,
"height": integer
} |
فیلدها |
---|
width | integer عرض شبکه، بر حسب پیکسل. |
height | integer ارتفاع شبکه، بر حسب پیکسل. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eDefines a rectangular area using pixel measurements for width and height.\u003c/p\u003e\n"],["\u003cp\u003eUses JSON format with "width" and "height" fields to specify the grid dimensions.\u003c/p\u003e\n"],["\u003cp\u003eBoth width and height are represented as integers indicating the pixel count.\u003c/p\u003e\n"]]],[],null,["# GridDimensions\n\nSpecifies the dimensions of a pixel grid.\n\n| JSON representation |\n|-------------------------------------------------|\n| ``` { \"width\": integer, \"height\": integer } ``` |\n\n| Fields ||\n|----------|----------------------------------------------|\n| `width` | `integer` The width of the grid, in pixels. |\n| `height` | `integer` The height of the grid, in pixels. |"]]