Skip to main content
Version: API v2 Preview

Line

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

Represents a straight line segment between two points.

Declaration

class Line extends PathSegment

Members

constructor

constructor(p0: PathPoint, p1: PathPoint, position?: Position, strokeColor?: Color, fillColor?: Color, strokeWidth?: number, dashArray?: number[], dashPhase?: number): Line

dashArray

dashArray?: number[]

dashPhase

dashPhase?: number

fillColor

fillColor?: Color

p0

p0: PathPoint

p1

p1: PathPoint

position

position?: Position

strokeColor

strokeColor?: Color

strokeWidth

strokeWidth?: number

View source at 7bd49ac104cc