Skip to main content

blockly > blockRendering > RoundCorner > (constructor)

blockRendering.RoundCorner.(constructor)

Constructs a new instance of the RoundCorner class

Signature:

constructor(constants: ConstantProvider, opt_position?: string);

Parameters

Parameter

Type

Description

constants

ConstantProvider

The rendering constants provider.

opt_position

string

(Optional) The position of this corner.