HiraokaHyperTools.iTextSharp-LGPL  0.2.5
iTextSharp.text.pdf.PdfShading Class Reference

Static Public Member Functions

static void ThrowColorSpaceError ()
 
static void CheckCompatibleColors (Color c1, Color c2)
 
static float[] GetColorArray (Color color)
 
static PdfShading Type1 (PdfWriter writer, Color colorSpace, float[] domain, float[] tMatrix, PdfFunction function)
 
static PdfShading Type2 (PdfWriter writer, Color colorSpace, float[] coords, float[] domain, PdfFunction function, bool[] extend)
 
static PdfShading Type3 (PdfWriter writer, Color colorSpace, float[] coords, float[] domain, PdfFunction function, bool[] extend)
 
static PdfShading SimpleAxial (PdfWriter writer, float x0, float y0, float x1, float y1, Color startColor, Color endColor, bool extendStart, bool extendEnd)
 
static PdfShading SimpleAxial (PdfWriter writer, float x0, float y0, float x1, float y1, Color startColor, Color endColor)
 
static PdfShading SimpleRadial (PdfWriter writer, float x0, float y0, float r0, float x1, float y1, float r1, Color startColor, Color endColor, bool extendStart, bool extendEnd)
 
static PdfShading SimpleRadial (PdfWriter writer, float x0, float y0, float r0, float x1, float y1, float r1, Color startColor, Color endColor)
 

Protected Member Functions

 PdfShading (PdfWriter writer)
 
void SetColorSpace (Color color)
 

Protected Attributes

PdfDictionary shading
 
PdfWriter writer
 
int shadingType
 
ColorDetails colorDetails
 
PdfName shadingName
 
PdfIndirectReference shadingReference
 
float[] bBox
 
bool antiAlias = false
 

Properties

Color ColorSpace [get]
 
float[] BBox [get, set]
 
bool AntiAlias [get, set]
 

Detailed Description

Implements the shading dictionary (or stream).

Author
Paulo Soares (psoar.nosp@m.es@c.nosp@m.onsis.nosp@m.te.p.nosp@m.t)

Constructor & Destructor Documentation

◆ PdfShading()

iTextSharp.text.pdf.PdfShading.PdfShading ( PdfWriter  writer)
protected

Creates new PdfShading

Member Function Documentation

◆ CheckCompatibleColors()

static void iTextSharp.text.pdf.PdfShading.CheckCompatibleColors ( Color  c1,
Color  c2 
)
static

◆ GetColorArray()

static float [] iTextSharp.text.pdf.PdfShading.GetColorArray ( Color  color)
static

◆ SetColorSpace()

void iTextSharp.text.pdf.PdfShading.SetColorSpace ( Color  color)
protected

◆ SimpleAxial() [1/2]

static PdfShading iTextSharp.text.pdf.PdfShading.SimpleAxial ( PdfWriter  writer,
float  x0,
float  y0,
float  x1,
float  y1,
Color  startColor,
Color  endColor 
)
static

◆ SimpleAxial() [2/2]

static PdfShading iTextSharp.text.pdf.PdfShading.SimpleAxial ( PdfWriter  writer,
float  x0,
float  y0,
float  x1,
float  y1,
Color  startColor,
Color  endColor,
bool  extendStart,
bool  extendEnd 
)
static

◆ SimpleRadial() [1/2]

static PdfShading iTextSharp.text.pdf.PdfShading.SimpleRadial ( PdfWriter  writer,
float  x0,
float  y0,
float  r0,
float  x1,
float  y1,
float  r1,
Color  startColor,
Color  endColor 
)
static

◆ SimpleRadial() [2/2]

static PdfShading iTextSharp.text.pdf.PdfShading.SimpleRadial ( PdfWriter  writer,
float  x0,
float  y0,
float  r0,
float  x1,
float  y1,
float  r1,
Color  startColor,
Color  endColor,
bool  extendStart,
bool  extendEnd 
)
static

◆ ThrowColorSpaceError()

static void iTextSharp.text.pdf.PdfShading.ThrowColorSpaceError ( )
static

◆ Type1()

static PdfShading iTextSharp.text.pdf.PdfShading.Type1 ( PdfWriter  writer,
Color  colorSpace,
float[]  domain,
float[]  tMatrix,
PdfFunction  function 
)
static

◆ Type2()

static PdfShading iTextSharp.text.pdf.PdfShading.Type2 ( PdfWriter  writer,
Color  colorSpace,
float[]  coords,
float[]  domain,
PdfFunction  function,
bool[]  extend 
)
static

◆ Type3()

static PdfShading iTextSharp.text.pdf.PdfShading.Type3 ( PdfWriter  writer,
Color  colorSpace,
float[]  coords,
float[]  domain,
PdfFunction  function,
bool[]  extend 
)
static

Member Data Documentation

◆ antiAlias

bool iTextSharp.text.pdf.PdfShading.antiAlias = false
protected

Holds value of property antiAlias.

◆ bBox

float [] iTextSharp.text.pdf.PdfShading.bBox
protected

Holds value of property bBox.

◆ colorDetails

ColorDetails iTextSharp.text.pdf.PdfShading.colorDetails
protected

◆ shading

PdfDictionary iTextSharp.text.pdf.PdfShading.shading
protected

◆ shadingName

PdfName iTextSharp.text.pdf.PdfShading.shadingName
protected

◆ shadingReference

PdfIndirectReference iTextSharp.text.pdf.PdfShading.shadingReference
protected

◆ shadingType

int iTextSharp.text.pdf.PdfShading.shadingType
protected

◆ writer

PdfWriter iTextSharp.text.pdf.PdfShading.writer
protected

Property Documentation

◆ AntiAlias

bool iTextSharp.text.pdf.PdfShading.AntiAlias
getset

◆ BBox

float [] iTextSharp.text.pdf.PdfShading.BBox
getset

◆ ColorSpace

Color iTextSharp.text.pdf.PdfShading.ColorSpace
get

The documentation for this class was generated from the following file: