Top Description Constructors Methods
org.apache.pdfbox.contentstream.operator.color

public Class SetStrokingColor

extends SetColor
Class Inheritance
Known Direct Subclasses
org.apache.pdfbox.contentstream.operator.color.SetStrokingColorN, org.apache.pdfbox.contentstream.operator.color.SetStrokingDeviceCMYKColor, org.apache.pdfbox.contentstream.operator.color.SetStrokingDeviceGrayColor, org.apache.pdfbox.contentstream.operator.color.SetStrokingDeviceRGBColor
Imports
org.apache.pdfbox.contentstream.PDFStreamEngine, org.apache.pdfbox.contentstream.operator.OperatorName, org.apache.pdfbox.pdmodel.graphics.color.PDColor, .PDColorSpace

SC: Sets the colour to use for stroking stroking operations.
Author
John Hewson

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected PDColor

Returns:

The stroking color.
getColor
()

Implements abstract org.apache.pdfbox.contentstream.operator.color.SetColor.getColor.

Returns the stroking color.

protected PDColorSpace

Returns:

The stroking color space.
getColorSpace
()

Implements abstract org.apache.pdfbox.contentstream.operator.color.SetColor.getColorSpace.

Returns the stroking color space.

public String
getName()

Implements abstract org.apache.pdfbox.contentstream.operator.OperatorProcessor.getName.

Returns the name of this operator, e.g. "BI".

protected void
setColor(PDColor
The new stroking color.
color
)

Implements abstract org.apache.pdfbox.contentstream.operator.color.SetColor.setColor.

Sets the stroking color.

Inherited from org.apache.pdfbox.contentstream.operator.color.SetColor:
process

Constructor Detail

SetStrokingColorback to summary
public SetStrokingColor(PDFStreamEngine context)

Method Detail

getColorback to summary
protected PDColor getColor()

Implements abstract org.apache.pdfbox.contentstream.operator.color.SetColor.getColor.

Returns the stroking color.

Returns:PDColor

The stroking color.

Annotations
@Override
getColorSpaceback to summary
protected PDColorSpace getColorSpace()

Implements abstract org.apache.pdfbox.contentstream.operator.color.SetColor.getColorSpace.

Returns the stroking color space.

Returns:PDColorSpace

The stroking color space.

Annotations
@Override
getNameback to summary
public String getName()

Implements abstract org.apache.pdfbox.contentstream.operator.OperatorProcessor.getName.

Doc from org.apache.pdfbox.contentstream.operator.OperatorProcessor.getName.

Returns the name of this operator, e.g. "BI".

Returns:String

the name of the operator

Annotations
@Override
setColorback to summary
protected void setColor(PDColor color)

Implements abstract org.apache.pdfbox.contentstream.operator.color.SetColor.setColor.

Sets the stroking color.

Parameters
color:PDColor

The new stroking color.

Annotations
@Override