public abstract class SetColor extends OperatorProcessor
Modifier | Constructor and Description |
---|---|
protected |
SetColor(PDFStreamEngine context) |
Modifier and Type | Method and Description |
---|---|
protected abstract PDColor |
getColor()
Returns either the stroking or non-stroking color value.
|
protected abstract PDColorSpace |
getColorSpace()
Returns either the stroking or non-stroking color space.
|
void |
process(Operator operator,
List<COSBase> arguments)
Process the operator.
|
protected abstract void |
setColor(PDColor color)
Sets either the stroking or non-stroking color value.
|
checkArrayTypesClass, getContext, getName
protected SetColor(PDFStreamEngine context)
public void process(Operator operator, List<COSBase> arguments) throws IOException
OperatorProcessor
process
in class OperatorProcessor
operator
- the operator to processarguments
- the operands to use when processingIOException
- if the operator cannot be processedprotected abstract PDColor getColor()
protected abstract void setColor(PDColor color)
color
- The stroking or non-stroking color value.protected abstract PDColorSpace getColorSpace()
Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.