Class SetStrokingColor
- java.lang.Object
-
- com.tom_roush.pdfbox.contentstream.operator.OperatorProcessor
-
- com.tom_roush.pdfbox.contentstream.operator.color.SetColor
-
- com.tom_roush.pdfbox.contentstream.operator.color.SetStrokingColor
-
- Direct Known Subclasses:
SetStrokingColorN,SetStrokingDeviceGrayColor,SetStrokingDeviceRGBColor
public class SetStrokingColor extends SetColor
SC: Sets the colour to use for stroking stroking operations.
-
-
Field Summary
-
Fields inherited from class com.tom_roush.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 PDColorgetColor()Returns the stroking color.protected PDColorSpacegetColorSpace()Returns the stroking color space.StringgetName()Returns the name of this operator, e.g.protected voidsetColor(PDColor color)Sets the stroking color.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class com.tom_roush.pdfbox.contentstream.operator.OperatorProcessor
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:
getColorSpacein classSetColor- Returns:
- The stroking color space.
-
getName
public String getName()
Description copied from class:OperatorProcessorReturns the name of this operator, e.g. "BI".- Specified by:
getNamein classOperatorProcessor
-
-