blockly > geras > PathObject > (konstruktor)
geras.PathObject.(constructor)
Konstruuje nową instancję klasy PathObject
Podpis:
constructor(root: SVGElement, style: BlockStyle, constants: ConstantProvider);
Parametry
Parametr | Typ | Opis |
---|---|---|
poziom główny | SVGElement | Główny element SVG. |
styl | BlockStyle | Obiekt stylu do kolorowania. |
constants | ConstantProvider | Stałe mechanizmu renderowania. |