blockly > blockRendering > SquareCorner > (constructor)
blockRendering.SquareCorner.(constructor)
Constructs a new instance of the SquareCorner class
Signature:
constructor(constants: ConstantProvider, opt_position?: string);
Parameters
Parameter | Type | Description |
|---|---|---|
constants | The rendering constants provider. | |
opt_position | string | (Optional) The position of this corner. |