Skip to main content
Version: API v2 Preview

PathObjectRef

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

Represents a path object reference with styling information. Extends ObjectRef to include stroke/fill colors and stroke properties.

Declaration

class PathObjectRef extends ObjectRef

Members

constructor

constructor(internalId: string, position: Position, type: ObjectType, strokeColor?: Color, fillColor?: Color, strokeWidth?: number, dashArray?: number[], dashPhase?: number): PathObjectRef

toDict

toDict(): Record<string, any>

dashArray

dashArray?: number[]

dashPhase

dashPhase?: number

fillColor

fillColor?: Color

internalId

internalId: string

position

position: Position

strokeColor

strokeColor?: Color

strokeWidth

strokeWidth?: number

type

type: ObjectType

View source at 7bd49ac104cc