# FilledShape

class Markup.Shapes.FilledShape()

Constructors

- `constructor()`

Methods

- `getFillColor()`

- `getFillOpacity()`

- `getStrokeColor()`

- `getStrokeWidth()`

- `setFillColor()`

- `setFillOpacity()`

- `setStrokeColor()`

- `setStrokeWidth()`

## Constructors

FilledShape.constructor()
  Return type

    FilledShape

## Methods

### getFillColor

FilledShape.getFillColor()

  Gets the fill color for this shape

  Returns

    the fill color

  Return type

    Color

### getFillOpacity

FilledShape.getFillOpacity()

  Gets the fill opacity for this shape

  Returns

    the fill opacity

  Return type

    number

### getStrokeColor

FilledShape.getStrokeColor()

  Gets the stroke color for this shape

  Returns

    the stroke color

  Return type

    Color

### getStrokeWidth

FilledShape.getStrokeWidth()

  Gets the stroke width for this shape in pixels

  Returns

    the stroke width in pixels

  Return type

    number

### setFillColor

FilledShape.setFillColor(color)
  Arguments

    - color (`Color()`) – the fill color

  Sets the fill color for this shape

  Return type

    void

### setFillOpacity

FilledShape.setFillOpacity(fillOpacity)
  Arguments

    - fillOpacity (`number()`) – the fill opacity

  Sets the fill opacity for this shape

  Return type

    void

### setStrokeColor

FilledShape.setStrokeColor(color)
  Arguments

    - color (`Color()`) – the stroke color

  Sets the stroke color for this shape

  Return type

    void

### setStrokeWidth

FilledShape.setStrokeWidth(strokeWidth)
  Arguments

    - strokeWidth (`number()`) – the stroke width in pixels

  Sets the stroke width for this shape in pixels

  Return type

    void