Class SetRGBColor

SetRGBColor class

Class representing rg operator (set RGB color for non-stroking operators).

public class SetRGBColor : SetColorOperator

Constructors

NameDescription
SetRGBColor(Color)Initializes operator with color.
SetRGBColor(double, double, double)Initializes operator.

Properties

NameDescription
B { get; set; }Gets or sets the blue component.
G { get; set; }Gets or sets the green component.
Index { get; set; }Operator index in page operators list.
R { get; set; }Gets or sets the red component.

Methods

NameDescription
override Accept(IOperatorSelector)Accepts visitor object to process operator.
override getColor()Returns color specified by operator.
override ToString()Returns text representation of the operator.
ValueEquals(Operator)Compares this instance with the given object.

See Also