Aspose::Pdf::Operators::SetColor class

SetColor class

Represents class for sc operator (set color for non-stroking operations).

class SetColor : public Aspose::Pdf::Operators::BasicSetColorOperator

Methods

MethodDescription
Accept(System::SharedPtr<IOperatorSelector>) overrideAccepts visitor object to process operator.
get_B() constGets the blue component.
get_C() constGets the cyan component.
get_G() constGets the green component.
get_K() constGets the black component.
get_M() constGets the magenta component.
get_R() constGets the red component.
get_Y() constGets the yellow component.
getColor() overrideReturns color specified by the operator.
set_B(double)Sets the blue component.
set_C(double)Sets the cyan component.
set_G(double)Sets the green component.
set_K(double)Sets the black component.
set_M(double)Sets the magenta component.
set_R(double)Sets the red component.
set_Y(double)Sets the yellow component.
SetColor()Initializes operator.
SetColor(double)Set color for stroking operators for DeviceGray, CalGray and Indexed color spaces.
SetColor(double, double, double)Set color for stroking operator for DeviceRGB, CalRGB, and Lab color spaces.
SetColor(double, double, double, double)Set color for non-stroking operator for CMYK color space.
SetColor(System::ArrayPtr<double>)Constructor which allows to specify color components.
ToString() const overrideReturns string representation of color.

See Also