Encuesta de investigación: Cuéntanos sobre tu experiencia con Blockly
Comenzar encuesta
blockly > blockRendering > Procesador > makeMarkerDrawer
Método blockRendering.Renderer.makeMarkerDrawer()
Crea una nueva instancia del panel lateral de marcadores del procesador.
Signature:
makeMarkerDrawer(workspace: WorkspaceSvg, marker: Marker): MarkerSvg;
Parámetros
Parámetro |
Tipo |
Descripción |
lugar de trabajo |
WorkspaceSvg |
El lugar de trabajo al que pertenece el marcador. |
marcador |
Marker |
El marcador. |
Muestra:
MarkerSvg
Es el objeto a cargo de dibujar el marcador.
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2024-08-21 (UTC)
[null,null,["Última actualización: 2024-08-21 (UTC)"],[[["The `blockRendering.Renderer.makeMarkerDrawer()` method creates a new instance of the renderer's marker drawer."],["It takes the workspace and the marker as input and returns a MarkerSvg object responsible for drawing the marker."],["The MarkerSvg object is used to visually represent the marker within the given workspace."]]],["The `makeMarkerDrawer()` method, part of the `Renderer` class, creates a new marker drawer instance. It takes a `WorkspaceSvg` and a `Marker` as input. The `WorkspaceSvg` represents the workspace the marker belongs to, and the `Marker` is the marker itself. This method returns a `MarkerSvg` object, which is responsible for rendering the marker.\n"]]