Skip to main content
Version: API v2 Preview

PathSegment

Kind: class
Module/package: models
SDK: pdfdancer-client-typescript 2.0.0

Base class for path segments (lines, curves, etc.) Each segment extends PDFObject and requires a position.

Declaration

class PathSegment

Members

constructor

constructor(position?: Position, strokeColor?: Color, fillColor?: Color, strokeWidth?: number, dashArray?: number[], dashPhase?: number): PathSegment

dashArray

dashArray?: number[]

dashPhase

dashPhase?: number

fillColor

fillColor?: Color

position

position?: Position

strokeColor

strokeColor?: Color

strokeWidth

strokeWidth?: number

View source at 7bd49ac104cc