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
|
Type |
Name |
Methods |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Internal properties
|
Type |
Name |
Methods |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods
Protected methods
|
Returns |
Name |
|---|---|
|
|
(
color) |
Public methods
|
Returns |
Name |
|---|---|
|
|
() |
Public Static methods
|
Returns |
Name |
|---|---|
|
|
(
c1,
c2) |
|
|
(
color) |
|
|
( |
|
|
( |
|
|
() |
|
|
(
writer,
colorSpace,
function) |
|
|
(
writer,
colorSpace,
function, |
|
|
(
writer,
colorSpace,
function, |
Details
Constructors
PdfShading
Source code
protected PdfShading(PdfWriter writer)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
writer |
Methods
SetColorSpace
Source code
protected virtual void SetColorSpace(BaseColor color)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
color |
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
|
Type |
Name |
Description |
|---|---|---|
|
|
color |
Type1
Source code
public static PdfShading Type1(PdfWriter writer, BaseColor colorSpace, float[] domain, float[] tMatrix, PdfFunction function)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
writer |
|
|
|
colorSpace |
|
|
|
domain |
|
|
|
tMatrix |
|
|
|
function |
Type2
Source code
public static PdfShading Type2(PdfWriter writer, BaseColor colorSpace, float[] coords, float[] domain, PdfFunction function, bool[] extend)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
writer |
|
|
|
colorSpace |
|
|
|
coords |
|
|
|
domain |
|
|
|
function |
|
|
|
extend |
Type3
Source code
public static PdfShading Type3(PdfWriter writer, BaseColor colorSpace, float[] coords, float[] domain, PdfFunction function, bool[] extend)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
writer |
|
|
|
colorSpace |
|
|
|
coords |
|
|
|
domain |
|
|
|
function |
|
|
|
extend |
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
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