介面 CanvasDimensions
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
無框畫的尺寸。
簽名
declare interface CanvasDimensions
屬性簽名
名稱 |
說明 |
height |
高度 (以正方形像素為單位)。對於可變換方向的相機,高度是指垂直軸上的測量值。 |
width |
寬度 (以正方形像素為單位)。對於可變更方向的相機,寬度是指水平軸上的測量值。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],[],null,["# Interface CanvasDimensions\n\n| **Developer Preview:** Available as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. \n|\n| **To use the Meet Media API to access real-time media from a conference, the Google Cloud project, OAuth principal, and all participants in the conference must be enrolled in the Developer Preview Program.**\n\nDimensions of a canvas.\n\nSignature\n---------\n\n declare interface CanvasDimensions\n\nProperty signatures\n-------------------\n\n| Name | Description |\n|----------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|\n| [`height`](./media_api.canvasdimensions.height.md) | Height in square pixels. For cameras that can change orientation, height refers to the measurement on the vertical axis. |\n| [`width`](./media_api.canvasdimensions.width.md) | Width in square pixels. For cameras that can change orientation, width refers to the measurement on the horizontal axis. |"]]