GridDimensions
Specifies the dimensions of a pixel grid.
JSON representation |
{
"width": integer,
"height": integer
} |
Fields |
width |
integer
The width of the grid, in pixels.
|
height |
integer
The height of the grid, in pixels.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-24 UTC.
[null,null,["Last updated 2024-10-24 UTC."],[[["Defines a rectangular area using pixel measurements for width and height."],["Uses JSON format with 'width' and 'height' fields to represent pixel grid dimensions."]]],["The content defines the structure for representing a pixel grid using a JSON object. This object contains two integer fields: `width` and `height`. `width` represents the horizontal size of the grid in pixels, and `height` specifies the vertical size, also in pixels. This representation allows for defining the dimensions of a rectangular grid.\n"]]