# PolygonAnnotationBaseProperties

## Content

[**DsPdfJS API v9.1.3**](../README)

***

[DsPdfJS API](../globals) / PolygonAnnotationBaseProperties

# Type Alias: PolygonAnnotationBaseProperties

> **PolygonAnnotationBaseProperties** = [`MarkupAnnotationProperties`](MarkupAnnotationProperties) & `object`

Base type for [PolygonAnnotationProperties](PolygonAnnotationProperties) and [PolyLineAnnotationProperties](PolyLineAnnotationProperties).

## Type Declaration

### fillColor?

> `optional` **fillColor**: [`Color`](Color)

The interior color with which to fill the annotation's elements.

### lineDashPattern?

> `optional` **lineDashPattern**: `number`[]

The line dash pattern. Null means a solid line.

### lineWidth?

> `optional` **lineWidth**: `number`

The line width in points.

### points?

> `optional` **points**: [`Point`](Point)[]

The points of polygon or polyline.
The coordinates of points are relative to the upper left corner of the page's
media box, with the Y (vertical) coordinates increasing from top to bottom.
