研究调查问卷:请告诉我们您使用 Blockly 的体验
开始调查问卷
抽屉
Drawer
会根据渲染程序信息构建 SVG 路径并将其传递给 path 对象。
它将不同测量值(在常量提供程序中定义)的所有不同路径表示法连接在一起。抽屉式导航栏使用 Blockly 提供的 SVG 路径实用程序执行此操作。
抽屉式导航栏还会更新块中连接的偏移量。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-07-24。
[null,null,["最后更新时间 (UTC):2023-07-24。"],[[["The `Drawer` uses renderer information to construct SVG paths for block visualization, passing them to the path object for rendering."],["It integrates path representations of block elements, defined by the constant provider, and connects them using SVG path utilities."],["The `Drawer` is also responsible for adjusting the positions of connection points within the block during rendering."]]],["The `Drawer` constructs SVG paths using renderer info and sends them to the path object. It integrates various path representations of measurables, defined within the constant provider. Blockly's SVG path utilities are used for path construction. Additionally, the `Drawer` adjusts the offsets of connections located within the block. This process is central to how blocks are visually assembled and connected.\n"]]