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(): RectangleBase

Returns: 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(): Color

Gets the fill color for this shape

Returns: Color

the fill color
Markup.Shapes.RectangleBase.getFillOpacity()

inherited

getFillOpacity(): number

Gets the fill opacity for this shape

Returns: number

the fill opacity
Markup.Shapes.RectangleBase.getStrokeColor()

inherited

getStrokeColor(): Color

Gets the stroke color for this shape

Returns: Color

the stroke color
Markup.Shapes.RectangleBase.getStrokeWidth()

inherited

getStrokeWidth(): number

Gets 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 pixels

Returns: void

Markup.Shapes.RectangleBase.setFillColor()

inherited

setFillColor(color: Color): void

Sets the fill color for this shape

Parameters

color: Color

the fill color

Returns: void

Markup.Shapes.RectangleBase.setFillOpacity()

inherited

setFillOpacity(fillOpacity: number): void

Sets the fill opacity for this shape

Parameters

fillOpacity: number

the fill opacity

Returns: void

Markup.Shapes.RectangleBase.setStrokeColor()

inherited

setStrokeColor(color: Color): void

Sets the stroke color for this shape

Parameters

color: Color

the stroke color

Returns: void

Markup.Shapes.RectangleBase.setStrokeWidth()

inherited

setStrokeWidth(strokeWidth: number): void

Sets the stroke width for this shape in pixels

Parameters

strokeWidth: number

the stroke width in pixels

Returns: void