RectangleCollection
-
class
Markup.Shapes.
RectangleCollection
() This is useful for drawing a number of rectangles which share the same visual appearance.
Constructors
Methods
Methods
addRectangle
getBorderRadius
-
RectangleCollection.
getBorderRadius
() Gets the border radius for this shape
Returns: the border radius Return type: number
getFillColor
-
RectangleCollection.
getFillColor
() Gets the fill color for this shape
Returns: the fill color Return type: Color
getFillOpacity
-
RectangleCollection.
getFillOpacity
() Gets the fill opacity for this shape
Returns: the fill opacity Return type: number
getRectangles
-
RectangleCollection.
getRectangles
() Gets the rectangles in the collection
Return type: [_MarkupRectangleData]
getStrokeColor
-
RectangleCollection.
getStrokeColor
() Gets the stroke color for this shape
Returns: the stroke color Return type: Color
getStrokeWidth
-
RectangleCollection.
getStrokeWidth
() Gets the stroke width for this shape in pixels
Returns: the stroke width in pixels Return type: number
setBorderRadius
-
RectangleCollection.
setBorderRadius
(borderRadius) Arguments: - borderRadius (
number()
) – the border radius in pixels
Sets the border radius for this shape
Return type: void - borderRadius (
setFillColor
setFillOpacity
-
RectangleCollection.
setFillOpacity
(fillOpacity) Arguments: - fillOpacity (
number()
) – the fill opacity
Sets the fill opacity for this shape
Return type: void - fillOpacity (