blockly > blockRendering > Renderer > makePathObject
Metoda blockRendering.Renderer.makePathObject()
Utwórz nowe wystąpienie obiektu ścieżki mechanizmu renderowania.
Podpis:
makePathObject(root: SVGElement, style: BlockStyle): IPathObject;
Parametry
Parametr | Typ | Opis |
---|---|---|
poziom główny | SVGElement | Główny element SVG. |
styl | BlockStyle | Obiekt stylu do kolorowania. |
Zwraca:
Obiekt ścieżki mechanizmu renderowania.