FilledShape
-
class
Markup.Shapes.FilledShape()
Constructors
-
Markup.Shapes.FilledShape.constructor() - FilledShape():
FilledShapeReturns:
FilledShape
Methods
-
Markup.Shapes.FilledShape.getFillColor() - getFillColor():
ColorGets the fill color for this shape
Returns:
Colorthe fill color
-
Markup.Shapes.FilledShape.getFillOpacity() - getFillOpacity(): number
Gets the fill opacity for this shape
Returns: number
the fill opacity
-
Markup.Shapes.FilledShape.getStrokeColor() inherited
getStrokeColor():ColorGets the stroke color for this shape
Returns:
Colorthe stroke color
-
Markup.Shapes.FilledShape.getStrokeWidth() inherited
getStrokeWidth(): numberGets the stroke width for this shape in pixels
Returns: number
the stroke width in pixels
-
Markup.Shapes.FilledShape.setFillColor() - setFillColor(color:
Color): voidSets the fill color for this shape
Parameters
color:
Colorthe fill colorReturns: void
-
Markup.Shapes.FilledShape.setFillOpacity() - setFillOpacity(fillOpacity: number): void
Sets the fill opacity for this shape
Parameters
fillOpacity: number
the fill opacityReturns: void
-
Markup.Shapes.FilledShape.setStrokeColor() inherited
setStrokeColor(color:Color): voidSets the stroke color for this shape
Parameters
color:
Colorthe stroke colorReturns: void
-
Markup.Shapes.FilledShape.setStrokeWidth() inherited
setStrokeWidth(strokeWidth: number): voidSets the stroke width for this shape in pixels
Parameters
strokeWidth: number
the stroke width in pixelsReturns: void