blockly > blockRendering > Renderer > makePathObject
blockRendering.Renderer.makePathObject() yöntemi
Oluşturucu yol nesnesinin yeni bir örneğini oluşturun.
İmza:
makePathObject(root: SVGElement, style: BlockStyle): IPathObject;
Parametreler
Parametre | Tür | Açıklama |
---|---|---|
kök | SVGElement | Kök SVG öğesi. |
style | BlockStyle | Renklendirme için kullanılacak stil nesnesi. |
İade et:
Oluşturucu yol nesnesi.