סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
blockly > blockRendering > PathObject > updateShadow_
שיטת blockRendering.PathObject.updateShadow_()
מעדכנת את מראה הבלוק כך שישקף מצב של צל.
Signature:
protected updateShadow_(shadow: boolean): void;
פרמטרים
פרמטר |
סוג |
תיאור |
צל |
בוליאני |
הערך הוא True אם הבלוק הוא בלוק של צללית. |
החזרות:
ריק
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-21 (שעון UTC).
[null,null,["עדכון אחרון: 2024-08-21 (שעון UTC)."],[[["The `updateShadow_` method modifies the visual appearance of a block to indicate whether it's a shadow block or not."],["This method is designated as `protected`, suggesting its intended use within the `blockRendering.PathObject` class or its subclasses."],["It accepts a single boolean parameter, `shadow`, which determines the shadow state of the block."],["Applying `updateShadow_` does not return any specific value (void)."]]],[]]