public abstract class SetColor extends OperatorProcessor
context
Constructor and Description |
---|
SetColor() |
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, setContext
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–2023 The Apache Software Foundation. All rights reserved.