Class SetStrokingColor
- java.lang.Object
-
- org.apache.pdfbox.contentstream.operator.OperatorProcessor
-
- org.apache.pdfbox.contentstream.operator.color.SetColor
-
- org.apache.pdfbox.contentstream.operator.color.SetStrokingColor
-
- Direct Known Subclasses:
SetStrokingColorN
,SetStrokingDeviceCMYKColor
,SetStrokingDeviceGrayColor
,SetStrokingDeviceRGBColor
public class SetStrokingColor extends SetColor
SC: Sets the colour to use for stroking stroking operations.
-
-
Field Summary
-
Fields inherited from class org.apache.pdfbox.contentstream.operator.OperatorProcessor
context
-
-
Constructor Summary
Constructors Constructor Description SetStrokingColor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PDColor
getColor()
Returns the stroking color.protected PDColorSpace
getColorSpace()
Returns the stroking color space.java.lang.String
getName()
Returns the name of this operator, e.g.protected void
setColor(PDColor color)
Sets the stroking color.-
Methods inherited from class org.apache.pdfbox.contentstream.operator.OperatorProcessor
checkArrayTypesClass, getContext, setContext
-
-
-
-
Method Detail
-
getColor
protected PDColor getColor()
Returns the stroking color.
-
setColor
protected void setColor(PDColor color)
Sets the stroking color.
-
getColorSpace
protected PDColorSpace getColorSpace()
Returns the stroking color space.- Specified by:
getColorSpace
in classSetColor
- Returns:
- The stroking color space.
-
getName
public java.lang.String getName()
Description copied from class:OperatorProcessor
Returns the name of this operator, e.g. "BI".- Specified by:
getName
in classOperatorProcessor
-
-