Skip to main content
Version: API v2 Preview

PathEditSession

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

Declaration

class PathEditSession

Members

constructor

constructor(_client: PDFDancer, _objectRef: ObjectRef): PathEditSession

apply

apply(): Promise<CommandResult>

Applies the color changes to the path. If no changes have been made, this is a no-op.

fillColor

fillColor(color: Color): PathEditSession

Sets the fill color for the path.

strokeColor

strokeColor(color: Color): PathEditSession

Sets the stroke color for the path.

View source at 7bd49ac104cc