blockly > geras > PathObject > (コンストラクタ)

geras.PathObject.(constructor)

PathObject クラスの新しいインスタンスを作成します。

署名:

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

パラメータ

パラメータ 種類 説明
root SVGElement ルート SVG 要素。
スタイル BlockStyle 色付けに使用するスタイル オブジェクト。
constants ConstantProvider レンダラの定数。