|
|
@ -450,7 +450,7 @@ class AnnotationBorderStyle { |
|
|
|
* @param {integer} width - The width |
|
|
|
* @param {integer} width - The width |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
setWidth(width) { |
|
|
|
setWidth(width) { |
|
|
|
if (width === (width | 0)) { |
|
|
|
if (Number.isInteger(width)) { |
|
|
|
this.width = width; |
|
|
|
this.width = width; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -537,7 +537,7 @@ class AnnotationBorderStyle { |
|
|
|
* @param {integer} radius - The horizontal corner radius |
|
|
|
* @param {integer} radius - The horizontal corner radius |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
setHorizontalCornerRadius(radius) { |
|
|
|
setHorizontalCornerRadius(radius) { |
|
|
|
if (radius === (radius | 0)) { |
|
|
|
if (Number.isInteger(radius)) { |
|
|
|
this.horizontalCornerRadius = radius; |
|
|
|
this.horizontalCornerRadius = radius; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -550,7 +550,7 @@ class AnnotationBorderStyle { |
|
|
|
* @param {integer} radius - The vertical corner radius |
|
|
|
* @param {integer} radius - The vertical corner radius |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
setVerticalCornerRadius(radius) { |
|
|
|
setVerticalCornerRadius(radius) { |
|
|
|
if (radius === (radius | 0)) { |
|
|
|
if (Number.isInteger(radius)) { |
|
|
|
this.verticalCornerRadius = radius; |
|
|
|
this.verticalCornerRadius = radius; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|