PdfShading Public class
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph iTextSharp.text.pdf
iTextSharp.text.pdf.PdfShading[[PdfShading]]
end
Members
Properties
Public properties
Internal properties
Methods
Protected methods
Public methods
Public Static methods
Returns | Name |
---|
void | CheckCompatibleColors (BaseColor c1, BaseColor c2) |
float``[] | GetColorArray (BaseColor color) |
PdfShading | SimpleAxial (... ) |
PdfShading | SimpleRadial (... ) |
void | ThrowColorSpaceError () |
PdfShading | Type1 (PdfWriter writer, BaseColor colorSpace, float``[] domain, float``[] tMatrix, PdfFunction function) |
PdfShading | Type2 (PdfWriter writer, BaseColor colorSpace, float``[] coords, float``[] domain, PdfFunction function, bool``[] extend) |
PdfShading | Type3 (PdfWriter writer, BaseColor colorSpace, float``[] coords, float``[] domain, PdfFunction function, bool``[] extend) |
Details
Constructors
PdfShading
Source code
protected PdfShading(PdfWriter writer)
Arguments
Methods
SetColorSpace
Source code
protected virtual void SetColorSpace(BaseColor color)
Arguments
ThrowColorSpaceError
Source code
public static void ThrowColorSpaceError()
CheckCompatibleColors
Source code
public static void CheckCompatibleColors(BaseColor c1, BaseColor c2)
Arguments
GetColorArray
Source code
public static float GetColorArray(BaseColor color)
Arguments
Type1
Source code
public static PdfShading Type1(PdfWriter writer, BaseColor colorSpace, float[] domain, float[] tMatrix, PdfFunction function)
Arguments
Type2
Source code
public static PdfShading Type2(PdfWriter writer, BaseColor colorSpace, float[] coords, float[] domain, PdfFunction function, bool[] extend)
Arguments
Type3
Source code
public static PdfShading Type3(PdfWriter writer, BaseColor colorSpace, float[] coords, float[] domain, PdfFunction function, bool[] extend)
Arguments
SimpleAxial [1/2]
Source code
public static PdfShading SimpleAxial(PdfWriter writer, float x0, float y0, float x1, float y1, BaseColor startColor, BaseColor endColor, bool extendStart, bool extendEnd)
Arguments
SimpleAxial [2/2]
Source code
public static PdfShading SimpleAxial(PdfWriter writer, float x0, float y0, float x1, float y1, BaseColor startColor, BaseColor endColor)
Arguments
SimpleRadial [1/2]
Source code
public static PdfShading SimpleRadial(PdfWriter writer, float x0, float y0, float r0, float x1, float y1, float r1, BaseColor startColor, BaseColor endColor, bool extendStart, bool extendEnd)
Arguments
Type | Name | Description |
---|
PdfWriter | writer | |
float | x0 | |
float | y0 | |
float | r0 | |
float | x1 | |
float | y1 | |
float | r1 | |
BaseColor | startColor | |
BaseColor | endColor | |
bool | extendStart | |
bool | extendEnd | |
SimpleRadial [2/2]
Source code
public static PdfShading SimpleRadial(PdfWriter writer, float x0, float y0, float r0, float x1, float y1, float r1, BaseColor startColor, BaseColor endColor)
Arguments
AddToBody
Source code
public virtual void AddToBody()
Properties
ColorSpace
public virtual BaseColor ColorSpace { get; }
ShadingName
internal PdfName ShadingName { get; }
ShadingReference
internal PdfIndirectReference ShadingReference { get; }
Name
internal int Name { set; }
Writer
internal PdfWriter Writer { get; }
ColorDetails
internal ColorDetails ColorDetails { get; }
BBox
public virtual float BBox { get; set; }
AntiAlias
public virtual bool AntiAlias { get; set; }
Generated with ModularDoc