[]
        
(Showing Draft Content)

PolygonAnnotationBaseProperties

DsPdfJS API v9.1.0


DsPdfJS API / PolygonAnnotationBaseProperties

Type Alias: PolygonAnnotationBaseProperties

PolygonAnnotationBaseProperties = MarkupAnnotationProperties & object

Base type for PolygonAnnotationProperties and PolyLineAnnotationProperties.

Type Declaration

fillColor?

optional fillColor: 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[]

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.