GridDimensions
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ระบุขนาดของตารางกริดพิกเซล
การแสดง JSON |
{
"width": integer,
"height": integer
} |
ช่อง |
width |
integer
ความกว้างของตารางกริดในหน่วยพิกเซล
|
height |
integer
ความสูงของตารางกริดในหน่วยพิกเซล
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\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. |"]]