blockly > blockRendering > MarkerSvg > applyColour_
طريقة blockRendering.MarkerSvg.applyColour_()
استخدم لون محدّد الموقع.
Signature:
protected applyColour_(_curNode: ASTNode): void;
المعلمات
المعلمة |
النوع |
الوصف |
_curNode |
ASTNode |
العقدة التي نريد رسم علامة لها. |
المرتجعات:
فراغ
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-08-21 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-08-21 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The `applyColour_` method is used to apply color to a marker within Blockly's block rendering process."],["It is a protected method that takes an ASTNode (Abstract Syntax Tree Node) as input, representing the block to which the marker belongs."],["This method does not return any value and is primarily used internally within Blockly for visual representation of markers."]]],["The `applyColour_()` method within the `MarkerSvg` class is designed to set the color of a marker. It accepts a single parameter, `_curNode`, of type `ASTNode`, which represents the specific node targeted for marker drawing. The method's core function is to visually apply the appropriate color to the marker associated with this `_curNode`. This method does not return any value, as indicated by its `void` return type.\n"]]