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_B()Gets red component of color.
get_C() constGets the cyan component.
get_C()Gets cyan component of CMYK color.
virtual get_Color()Gets array of color components.
get_G() constGets the green component.
get_G()Gets green component of color.
get_Gray()Gets black component of gray color.
get_Index()Operator index in page operators list.
get_K() constGets the black component.
get_K()Gets black component of CMYK color.
get_M() constGets the magenta component.
get_M()Gets magenta component of CMYK color.
get_R() constGets the red component.
get_R()Gets red component of color.
get_Y() constGets the yellow component.
get_Y()Gets yellow component of CMYK color.
getColor() overrideReturns color specified by the operator.
static IsTextShowOperator(System::SharedPtr<Operator>)Determines if the operator is operator which responsible for text output (Tj, TJ, etc)
set_B(double)Sets the blue component.
set_C(double)Sets the cyan component.
set_G(double)Sets the green component.
set_Index(int32_t)Operator index in page operators list.
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.
ValueEquals(System::SharedPtr<Operator>)Compares this instance with the given object.

See Also