blockly >德國 >HighlightConstantProvider >makeStartHat
geras.HighlightConstantProvider.makeStartHat() 方法
Signature:
protected makeStartHat(): StartHat;
退貨:
StartHat
此物件包含開始亮點的相關大小和路徑資訊。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-12 (世界標準時間)。
[null,null,["上次更新時間:2024-09-12 (世界標準時間)。"],[[["The `geras.HighlightConstantProvider.makeStartHat()` method is a protected method that calculates the dimensions and shape of the highlight for start blocks."],["It returns a `StartHat` object containing the necessary data for rendering the start highlight, specifically its size and path information."]]],["The `makeStartHat` method, part of the `HighlightConstantProvider` class within the `geras` namespace, generates the visual representation for start highlights. This method, with a protected access modifier, returns a `StartHat` object. This `StartHat` object contains all necessary sizing and path data required to draw the highlight associated with the start block.\n"]]