研究调查问卷:请告诉我们您使用 Blockly 的体验
开始调查问卷
blockly > blockRendering > ConstantProvider > makePuzzleTab
blockRendering.ConstantProvider.makePuzzleTab() 方法
Signature:
protected makePuzzleTab(): PuzzleTab;
返回:
PuzzleTab
一个对象,其中包含有关谜题标签页的大小调整和路径信息。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-09。
[null,null,["最后更新时间 (UTC):2024-11-09。"],[[["The `blockRendering.ConstantProvider.makePuzzleTab()` method generates an object containing the size and shape data for puzzle tabs used in block connections."],["This method is utilized within the Blockly library's block rendering system, specifically within the `ConstantProvider` class, and is marked as protected."],["The returned `PuzzleTab` object provides essential information for rendering and aligning interlocking puzzle-shaped connections between blocks."]]],["The `makePuzzleTab()` method, part of the `ConstantProvider` class within the `blockRendering` namespace, generates a `PuzzleTab` object. This method is protected and returns an object that holds sizing and path data specific to puzzle tabs used in block rendering. The generated `PuzzleTab` provides information necessary for rendering the visual shape and size of puzzle tabs.\n"]]