diff --git a/src/decorators/border.js b/src/decorators/border.js index 9f6c205..37bf05d 100644 --- a/src/decorators/border.js +++ b/src/decorators/border.js @@ -77,13 +77,12 @@ const Define = Object.freeze({ * @extends Sides */ class Border extends Sides { - constructor(width = 0, color = Colors.black, style = LineStyles.solid, defaultUnit = SizeUnits.PIXEL, shape = Shapes.Rectangle) { + constructor(width = 0, color = Colors.black, style = LineStyles.solid, defaultUnit = SizeUnits.PIXEL) { super('border', 0, defaultUnit); this._fFirst = new BorderDefinition(width, color, style); this._fSecond = new BorderDefinition(width, color, style); this._fThird = new BorderDefinition(width, color, style); this._fForth = new BorderDefinition(width, color, style); - this._shape = shape; } setByIndex(index, value) {