公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ui.Panel.Layout.absolute
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
返回一个布局,该布局会相对于面板绝对放置其 widget。
添加的 widget 的“position”样式属性决定了其放置方式。系统支持以下位置:
- 左上角、正上方、右上角
- middle-left、middle-right
- bottom-left、bottom-center、bottom-right
如果未指定位置,该 widget 将放置在已定位的 widget 后面(即 z-index 低于已定位的 widget)。
用法 | 返回 |
---|
ui.Panel.Layout.absolute() | ui.Panel.Layout |
无实参。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eReturns a layout that positions widgets based on absolute positioning within the panel.\u003c/p\u003e\n"],["\u003cp\u003eWidgets can be placed using predefined positions like "top-left," "bottom-right," etc., through their "position" style property.\u003c/p\u003e\n"],["\u003cp\u003eWidgets without a specified position are placed behind positioned widgets.\u003c/p\u003e\n"],["\u003cp\u003eUsing \u003ccode\u003eui.Panel.Layout.absolute()\u003c/code\u003e requires no arguments and returns a ui.Panel.Layout object.\u003c/p\u003e\n"]]],["This content describes a layout that positions widgets absolutely within a panel using the widget's \"position\" style property. Supported positions include top-left, top-center, top-right, middle-left, middle-right, bottom-left, bottom-center, and bottom-right. Widgets without a specified position are placed behind those that do, indicated by a lower z-index. The `ui.Panel.Layout.absolute()` method creates this layout and returns a `ui.Panel.Layout` object. The method accepts no arguments.\n"],null,["# ui.Panel.Layout.absolute\n\n\u003cbr /\u003e\n\nReturns a layout that places its widgets absolutely relative to the panel.\n\n\u003cbr /\u003e\n\nAn added widget's \"position\" style property determines how it is placed. The following positions are supported:\n\n- top-left, top-center, top-right\n\n- middle-left, middle-right\n\n- bottom-left, bottom-center, bottom-right\n\nIf no position is specified, the widget will be placed behind (that is, with a lower z-index than) the positioned widgets.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------|-----------------|\n| `ui.Panel.Layout.absolute()` | ui.Panel.Layout |\n\n**No arguments.**"]]