blockly > blockRendering > PathObject > (constructeur)

blockRendering.PathObject.(constructor)

Construit une instance de la classe PathObject.

Signature :

constructor(root: SVGElement, style: BlockStyle, constants: ConstantProvider);

Paramètres

Paramètres Type Description
root SVGElement Élément SVG racine.
style BlockStyle Objet de style à utiliser pour la coloration.
constants ConstantProvider Constantes du moteur de rendu