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 stroking operator for CMYK color 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, getYgetCommand, getCommandName, getIndex, getParameters, isTextShowOperator, reset, setIndex, toString, toStringpublic 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 - Color 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 stroking operator for CMYK color space
c - cyan component.m - Magenta component.y - Yellow component.k - Black component.public Color getColor()
Returns color specified by operator.
getColor in class SetColorOperatorpublic void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
Copyright © 2021 Aspose. All Rights Reserved.