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