研究调查问卷:请告诉我们您使用 Blockly 的体验
开始调查问卷
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
blockly > zelos
zelos 命名空间
类
类 |
说明 |
BottomRow |
一个对象,其中包含有关分块底行中包含哪些元素的信息,以及顶行的信息。底部行的元素可以由角落、间隔符和下一个连接组成。 |
ConstantProvider |
用于在 Zelos 模式下为渲染分块提供常量的对象。 |
抽屉 |
一个对象,用于根据给定的渲染信息绘制块。 |
PathObject |
用于处理创建和设置渲染程序使用的每个 SVG 元素的对象。 |
渲染程序 |
Zelos 渲染程序。此渲染程序会模拟 Scratch 和 MakeCode 风格的渲染。 Zelos 是古希腊的竞争和模仿精神。 |
RenderInfo |
一个对象,其中包含绘制此块所需的所有尺寸信息。 此测量传递不会将更改传播到块(尽管字段可能会在调用 getSize() 时选择重新渲染)。不过,反复调用它可能会很昂贵。 |
RightConnectionShape |
一个对象,包含有关右侧连接形状在渲染期间占用的空间的信息。 |
StatementInput |
一个对象,包含有关语句输入在呈现期间占用的空间的信息。 |
TopRow |
一个对象,包含有关某个版块顶行中包含哪些元素的信息,以及顶行的大小信息。顶行中的元素可以包括角、帽子、间隔符和之前的连接。调用此构造函数后,该行将包含它所需的所有非间隔元素。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-25。"],[[["The Zelos renderer emulates Scratch-style and MakeCode-style rendering for Blockly blocks."],["This namespace provides classes for managing the rendering process, including block sizing, element positioning, and SVG drawing."],["Classes like `ConstantProvider`, `Drawer`, and `Renderer` handle the core rendering functionalities."],["Other classes such as `TopRow`, `BottomRow`, and `StatementInput` define the structure and layout of block elements."],["`RenderInfo` stores sizing information, while `PathObject` manages the creation and manipulation of SVG elements for block visuals."]]],[]]