public static class Operator.SetColorStroke extends Operator.BasicSetColorOperator
Class representing SC operator set color for stroking color operators.
Operator.BasicSetColorAndPatternOperator, Operator.BasicSetColorOperator, Operator.BDC, Operator.BI, Operator.BlockTextOperator, Operator.BMC, Operator.BT, Operator.BX, Operator.Clip, Operator.ClosePath, Operator.ClosePathEOFillStroke, Operator.ClosePathFillStroke, Operator.ClosePathStroke, Operator.ConcatenateMatrix, Operator.CurveTo, Operator.CurveTo1, Operator.CurveTo2, Operator.Do, Operator.DP, Operator.EI, Operator.EMC, Operator.EndPath, Operator.EOClip, Operator.EOFill, Operator.EOFillStroke, Operator.ET, Operator.EX, Operator.Fill, Operator.FillStroke, Operator.GlyphPosition, Operator.GRestore, Operator.GS, Operator.GSave, Operator.ID, Operator.LineTo, Operator.MoveTextPosition, Operator.MoveTextPositionSetLeading, Operator.MoveTo, Operator.MoveToNextLine, Operator.MoveToNextLineShowText, Operator.MP, Operator.ObsoleteFill, Operator.Re, Operator.SelectFont, Operator.SetAdvancedColor, Operator.SetAdvancedColorStroke, Operator.SetCharacterSpacing, Operator.SetCharWidth, Operator.SetCharWidthBoundingBox, Operator.SetCMYKColor, Operator.SetCMYKColorStroke, Operator.SetColor, Operator.SetColorOperator, Operator.SetColorRenderingIntent, Operator.SetColorSpace, Operator.SetColorSpaceStroke, Operator.SetColorStroke, Operator.SetDash, Operator.SetFlat, Operator.SetGlyphsPositionShowText, Operator.SetGray, Operator.SetGrayStroke, Operator.SetHorizontalTextScaling, Operator.SetLineCap, Operator.SetLineJoin, Operator.SetLineWidth, Operator.SetMiterLimit, Operator.SetRGBColor, Operator.SetRGBColorStroke, Operator.SetSpacingMoveToNextLineShowText, Operator.SetTextLeading, Operator.SetTextMatrix, Operator.SetTextRenderingMode, Operator.SetTextRise, Operator.SetWordSpacing, Operator.ShFill, Operator.ShowText, Operator.Stroke, Operator.TextOperator, Operator.TextPlaceOperator, Operator.TextShowOperator, Operator.TextStateOperator
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
|
Modifier and Type | Method and Description |
---|---|
void |
accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
|
Color |
getColor()
Returns color specified by operator.
|
getB, getC, getColorArray, getG, getGrey, getK, getM, getR, getY
clear, getCommand, getCommandName, getIndex, getParameters, isTextShowOperator, reset, setIndex, toString
public SetColorStroke()
Initializes operator.
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 Operator.SetColorOperator
public void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
Copyright © 2017 Aspose. All Rights Reserved.