package pathoperator

import "github.com/edragoev1/pdfjet/v9/src/pathoperator"

Package pathoperator defines the path painting operators, such as stroke and fill.

Index

Types

type PathOperator

type PathOperator string

PathOperator specifies the operator that paints a path.

const (
	Stroke                        PathOperator = "S"  // Stroke the path
	CloseAndStroke                PathOperator = "s"  // Close and then stroke the path
	Fill                          PathOperator = "f"  // Close and fill the path
	FillAndStroke                 PathOperator = "b"  // Close, fill and then stroke the path
	FillUsingEvenOddRule          PathOperator = "f*" // Like 'f' but using even odd rule
	FillUsingEvenOddRuleAndStroke PathOperator = "b*" // Like 'b' but using even odd rule
)

Constants used to specify the 'Stroke', 'CloseAndStroke', 'Fill' and more operators.