blockly > blockRendering > MarkerSvg > showAtLocation_
طريقة blockRendering.MarkerSvg.showAtLocation_()
عدِّل الحالة المرئية للعلامة استنادًا إلى نوع curNode.
Signature:
protected showAtLocation_(curNode: ASTNode): void;
المعلمات
المعلمة |
النوع |
الوصف |
curNode |
ASTNode |
العقدة التي نريد رسم علامة لها. |
المرتجعات:
فراغ
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-09-09 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-09-09 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The `blockRendering.MarkerSvg.showAtLocation_` method updates the marker's visibility based on the provided node."],["This method is used internally within the Blockly library for rendering markers during block connections."],["It takes an ASTNode as input, representing the node for which the marker's visibility should be determined."],["The method does not return any value and operates by modifying the marker's internal state."]]],["The `showAtLocation_` method within `blockRendering.MarkerSvg` updates a marker's visibility based on the provided `curNode`. This method accepts one parameter, `curNode` of type `ASTNode`, which determines where the marker should be drawn. The method's function is to draw the marker for the specified `ASTNode`. It has no return value.\n"]]