SetRGBColorStroke

SetRGBColorStroke

Overview

SetRGBColorStroke is a class in Aspose.PDF FOSS for .NET. Inherits from: BasicSetColorOperator.

RG — Set RGB stroke color.

This class provides 8 methods for working with SetRGBColorStroke objects in .NET programs. Available methods include: Accept, IsTextShowOperator, SetRGBColorStroke, ToPdf, ToString, ValueEquals, getColor. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: B, C, Color, CommandName, G, Gray, and 5 more.

Properties

NameTypeAccessDescription
RdoubleRead/WriteGets or sets the r.
GdoubleRead/WriteGets or sets the g.
BdoubleRead/WriteGets or sets the b.
Colordouble[]ReadGets the color.
GraydoubleReadGets the gray.
CdoubleReadGets the c.
MdoubleReadGets the m.
YdoubleReadGets the y.
KdoubleReadGets the k.
CommandNamestringReadThe PDF command name (last token of the serialised form, e.g.
IndexintRead/Write1-based position of this operator within its containing OperatorCollection.

Methods

SignatureDescription
SetRGBColorStroke(r: double, g: double, b: double)Sets the rgb color stroke value.
SetRGBColorStroke(color: System.Drawing.Color)Sets the rgb color stroke value.
ToPdf()Calls ToPdf on this SetRGBColorStroke instance.
ToString()Calls ToString on this SetRGBColorStroke instance.
Accept(visitor: IOperatorSelector)Calls Accept on this SetRGBColorStroke instance.
getColor()Calls getColor on this SetRGBColorStroke instance.
IsTextShowOperator(op: Operator)True when op is a text-showing operator (Tj / TJ / ’ / " — concrete subclasses of TextShowOperator).
ValueEquals(op: Operator)True when this operator’s serialised PDF form equals op’s.

See Also