RectangleBase
-
class
Markup.Shapes.RectangleBase() This is a base class for rectangular markup objects. It should not be used directly.
Constructors
-
Markup.Shapes.RectangleBase.constructor() - RectangleBase():
RectangleBaseReturns:
RectangleBase
Methods
-
Markup.Shapes.RectangleBase.getBorderRadius() - getBorderRadius(): number
Gets the border radius for this shape
Returns: number
the border radius
-
Markup.Shapes.RectangleBase.getFillColor() inherited
getFillColor():ColorGets the fill color for this shape
Returns:
Colorthe fill color
-
Markup.Shapes.RectangleBase.getFillOpacity() inherited
getFillOpacity(): numberGets the fill opacity for this shape
Returns: number
the fill opacity
-
Markup.Shapes.RectangleBase.getStrokeColor() inherited
getStrokeColor():ColorGets the stroke color for this shape
Returns:
Colorthe stroke color
-
Markup.Shapes.RectangleBase.getStrokeWidth() inherited
getStrokeWidth(): numberGets the stroke width for this shape in pixels
Returns: number
the stroke width in pixels
-
Markup.Shapes.RectangleBase.setBorderRadius() - setBorderRadius(borderRadius: number): void
Sets the border radius for this shape
Parameters
borderRadius: number
the border radius in pixelsReturns: void
-
Markup.Shapes.RectangleBase.setFillColor() inherited
setFillColor(color:Color): voidSets the fill color for this shape
Parameters
color:
Colorthe fill colorReturns: void
-
Markup.Shapes.RectangleBase.setFillOpacity() inherited
setFillOpacity(fillOpacity: number): voidSets the fill opacity for this shape
Parameters
fillOpacity: number
the fill opacityReturns: void
-
Markup.Shapes.RectangleBase.setStrokeColor() inherited
setStrokeColor(color:Color): voidSets the stroke color for this shape
Parameters
color:
Colorthe stroke colorReturns: void
-
Markup.Shapes.RectangleBase.setStrokeWidth() inherited
setStrokeWidth(strokeWidth: number): voidSets the stroke width for this shape in pixels
Parameters
strokeWidth: number
the stroke width in pixelsReturns: void