public class SetColorStroke extends BasicSetColorOperator
Class representing SC operator set color for stroking color operators.
Constructor and Description |
---|
SetColorStroke()
Initializes operator.
|
SetColorStroke(double g)
Set color for stroking operators for DeviceGrey, CalGrey and Indexed color spaces.
|
SetColorStroke(double[] color)
Constructor which allows to set color components.
|
SetColorStroke(double r,
double g,
double b)
Set color for stroking operator for DeviceRGB, CalRGB, and Lab color spaces
|
SetColorStroke(double c,
double m,
double y,
double k)
Set color for strokinbg operator for CMYK colro space
|
SetColorStroke(int index,
com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Constructor for operator class.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
|
Color |
getColor()
Not supported yet.
|
getB, getC, getColorArray, getG, getGrey, getK, getM, getR, getY
clear, getCommand, getCommandName, getIndex, getParameters, getTrailerable, isTextShowOperator, reset, setIndex, toString, toString
public SetColorStroke()
Initializes operator.
public SetColorStroke(int index, com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Constructor for operator class.
index
- Index of operator.command
- Operator command.public SetColorStroke(double g)
Set color for stroking operators for DeviceGrey, CalGrey and Indexed color spaces.
g
- Colro value.public SetColorStroke(double r, double g, double b)
Set color for stroking operator for DeviceRGB, CalRGB, and Lab color spaces
r
- Red component.g
- Green component.b
- Blue component.public SetColorStroke(double[] color)
Constructor which allows to set color components.
color
- Array of color components.public SetColorStroke(double c, double m, double y, double k)
Set color for strokinbg operator for CMYK colro space
c
- cyan component.m
- Magenta component.y
- Yellow component.k
- Black component.public Color getColor()
Returns color specified by operator.
getColor
in class SetColorOperator
public void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.