PathEditSession
Kind: class
Module/package: types
SDK: pdfdancer-client-python 2.0.0
Fluent editing helper for modifying path stroke and fill colors.
Declaration
PathEditSession(client: "'PDFDancer'", object_ref: 'ObjectRef') -> 'None'
Members
__init__
__init__(self, client: "'PDFDancer'", object_ref: 'ObjectRef') -> 'None'
Initialize self. See help(type(self)) for accurate signature.
apply
apply(self) -> "'CommandResult'"
Apply the color modifications to the path.
Returns: CommandResult indicating success or failure
fill_color
fill_color(self, color: "'Color'") -> "'PathEditSession'"
Set the fill color.
Args: color: The fill color (Color object)
Returns: Self for method chaining
stroke_color
stroke_color(self, color: "'Color'") -> "'PathEditSession'"
Set the stroke/outline color.
Args: color: The stroke color (Color object)
Returns: Self for method chaining