iText 8.0.5 API
|
Represents a color with the specified opacity. More...
Public Member Functions |
|
TransparentColor (Color color) | |
Creates a new TransparentColor instance of certain fully opaque color. More... |
|
TransparentColor (Color color, float opacity) | |
Creates a new TransparentColor. More... |
|
virtual Color | GetColor () |
Gets the color. More... |
|
virtual float | GetOpacity () |
Gets the opacity of color. More... |
|
virtual void | ApplyFillTransparency (PdfCanvas canvas) |
Sets the opacity value for non-stroking operations in the transparent imaging model. More... |
|
virtual void | ApplyStrokeTransparency (PdfCanvas canvas) |
Sets the opacity value for stroking operations in the transparent imaging model. More... |
|
Represents a color with the specified opacity.
|
inline |
Creates a new TransparentColor instance of certain fully opaque color.
color | the iText.Kernel.Colors.Color of the created TransparentColor object |
|
inline |
Creates a new TransparentColor.
color | the iText.Kernel.Colors.Color of the created TransparentColor object |
opacity | a float defining the opacity of the color; a float between 0 and 1, where 1 stands for fully opaque color and 0 - for fully transparent |
|
inlinevirtual |
Sets the opacity value for non-stroking operations in the transparent imaging model.
canvas | the iText.Kernel.Pdf.Canvas.PdfCanvas to be written to |
|
inlinevirtual |
Sets the opacity value for stroking operations in the transparent imaging model.
canvas | the iText.Kernel.Pdf.Canvas.PdfCanvas to be written to |
|
inlinevirtual |
Gets the color.
|
inlinevirtual |
Gets the opacity of color.