RectangleBase
-
class
Markup.Shapes.RectangleBase() This is a base class for rectangular markup objects. It should not be used directly.
Constructors
Methods
Methods
getBorderRadius
-
RectangleBase.getBorderRadius() Gets the border radius for this shape
Returns: the border radius Return type: number
getFillColor
-
RectangleBase.getFillColor() Gets the fill color for this shape
Returns: the fill color Return type: Color
getFillOpacity
-
RectangleBase.getFillOpacity() Gets the fill opacity for this shape
Returns: the fill opacity Return type: number
getStrokeColor
-
RectangleBase.getStrokeColor() Gets the stroke color for this shape
Returns: the stroke color Return type: Color
getStrokeWidth
-
RectangleBase.getStrokeWidth() Gets the stroke width for this shape in pixels
Returns: the stroke width in pixels Return type: number
setBorderRadius
-
RectangleBase.setBorderRadius(borderRadius) Arguments: - borderRadius (
number()) – the border radius in pixels
Sets the border radius for this shape
Return type: void - borderRadius (
setFillColor
setFillOpacity
-
RectangleBase.setFillOpacity(fillOpacity) Arguments: - fillOpacity (
number()) – the fill opacity
Sets the fill opacity for this shape
Return type: void - fillOpacity (