Skip to main content
Version: API v2 Preview

Path

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

Represents a vector path consisting of multiple path segments.

Declaration

class Path

Members

constructor

constructor(position?: Position, pathSegments?: PathSegment[], evenOddFill?: boolean): Path

addSegment

addSegment(segment: PathSegment): void

clearSegments

clearSegments(): void

getPosition

getPosition(): Position

getSegments

getSegments(): PathSegment[]

setPosition

setPosition(position: Position): void

evenOddFill

evenOddFill?: boolean

pathSegments

pathSegments: PathSegment[]

position

position?: Position

View source at 7bd49ac104cc