研究调查问卷:请告诉我们您使用 Blockly 的体验
开始调查问卷
blockly >blockRendering >行 >yPos
blockRendering.Row.yPos 属性
行相对于块的 svg 组原点的 Y 位置。
Signature:
yPos: number;
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-29。
[null,null,["最后更新时间 (UTC):2024-08-29。"],[[["`yPos` represents the vertical position of a rendering row within a block's SVG group."],["This property is a numerical value indicating the row's position relative to the block's top-left corner."]]],["The `yPos` property, found within the `blockRendering.Row` class, represents a numerical value. This value indicates the vertical (Y) position of the row. The position is determined relative to the origin point of the block's SVG group. This property is core to block rendering as it defines the vertical placement of a given row.\n"]]