Interface CanvasDimensions
Dimensions of a canvas.
Signature
declare interface CanvasDimensions
Property signatures
Name |
Description |
height |
Height in square pixels. For cameras that can change orientation, height refers to the measurement on the vertical axis. |
width |
Width in square pixels. For cameras that can change orientation, width refers to the measurement on the horizontal axis. |
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 2025-01-24 UTC.
[null,null,["Last updated 2025-01-24 UTC."],[[["This content details the `CanvasDimensions` interface, which is part of the Google Workspace Developer Preview Program."],["`CanvasDimensions` define the height of a canvas in square pixels, referring to the vertical axis."],["`CanvasDimensions` also define the width of a canvas in square pixels, referring to the horizontal axis."],["Access to `CanvasDimensions` is available through early access as part of the Google Workspace Developer Preview Program."]]],[]]