PathPaintOp

Backed enum of the PDF path-painting operators (PDF 32000-1:2008 - 8.5.3). The backing value of each case is the canonical operator produced by Style::getPathPaintOp().

Namespace: Com\Tecnick\Pdf\Graph

Backing type: string

File: PathPaintOp.php line 36

Backed enum of the PDF path-painting operators (PDF 32000-1:2008 - 8.5.3). The backing value of each case is the canonical operator produced by Style::getPathPaintOp().

Tags

Cases

Stroke

File: PathPaintOp.php line 38

CloseStroke

File: PathPaintOp.php line 40

Fill

File: PathPaintOp.php line 42

CloseFill

File: PathPaintOp.php line 44

FillEvenOdd

File: PathPaintOp.php line 46

CloseFillEvenOdd

File: PathPaintOp.php line 48

FillStroke

File: PathPaintOp.php line 50

FillStrokeEvenOdd

File: PathPaintOp.php line 52

CloseFillStroke

File: PathPaintOp.php line 54

CloseFillStrokeEvenOdd

File: PathPaintOp.php line 56

Clip

File: PathPaintOp.php line 58

ClipEvenOdd

File: PathPaintOp.php line 60

Close

File: PathPaintOp.php line 62

NoOp

File: PathPaintOp.php line 64

Methods

fromLoose()

File: PathPaintOp.php line 73

public static fromLoose(string|self $value) : self

Accepts an enum case or any of the case-sensitive aliases accepted by Style::getPathPaintOp(). Unknown values return Stroke.

Parameters

  • $value : string|self: Path paint mode or enum case.

Return values

self