iText 9.8.1 API
iText.Kernel.Pdf.Canvas.PdfCanvasConstants Class Reference

A container for constants defined in the PDF specification (ISO 32000-1). More...

Classes

class   FillingRule
  Rule for determining which points lie inside a path. More...
 
class   LineCapStyle
  The line cap style specifies the shape to be used at the ends of open subpaths (and dashes, if any) when they are stroked. More...
 
class   LineJoinStyle
  The line join style specifies the shape to be used at the corners of paths that are stroked. More...
 
class   TextRenderingMode
  The text rendering mode determines whether showing text causes glyph outlines to be stroked, filled, used as a clipping boundary, or some combination of the three. More...
 

Static Public Attributes

static readonly Color  DEFAULT_STROKE_COLOR = DeviceGray.BLACK
  Default value for stroke color More...
 
static readonly Color  DEFAULT_FILL_COLOR = DeviceGray.BLACK
  Default value for fill color More...
 
const float  DEFAULT_LINE_WIDTH = 1f
  Default value for line width More...
 
const int  DEFAULT_LINE_CAP_STYLE = PdfCanvasConstants.LineCapStyle.BUTT
  Default value for line cap style More...
 
const int  DEFAULT_LINE_JOIN_STYLE = PdfCanvasConstants.LineJoinStyle.MITER
  Default value for line join style More...
 
const float  DEFAULT_MITER_LIMIT = 10f
  Default value for miter limit More...
 
const float  DEFAULT_FILL_OPACITY = 1f
  Default value for fill opacity More...
 
const float  DEFAULT_STROKE_OPACITY = 1f
  Default value for stroke opacity More...
 

Detailed Description

A container for constants defined in the PDF specification (ISO 32000-1).

Member Data Documentation

◆ DEFAULT_FILL_COLOR

readonly Color iText.Kernel.Pdf.Canvas.PdfCanvasConstants.DEFAULT_FILL_COLOR = DeviceGray.BLACK
static

Default value for fill color

◆ DEFAULT_FILL_OPACITY

const float iText.Kernel.Pdf.Canvas.PdfCanvasConstants.DEFAULT_FILL_OPACITY = 1f
static

Default value for fill opacity

◆ DEFAULT_LINE_CAP_STYLE

const int iText.Kernel.Pdf.Canvas.PdfCanvasConstants.DEFAULT_LINE_CAP_STYLE = PdfCanvasConstants.LineCapStyle.BUTT
static

Default value for line cap style

◆ DEFAULT_LINE_JOIN_STYLE

const int iText.Kernel.Pdf.Canvas.PdfCanvasConstants.DEFAULT_LINE_JOIN_STYLE = PdfCanvasConstants.LineJoinStyle.MITER
static

Default value for line join style

◆ DEFAULT_LINE_WIDTH

const float iText.Kernel.Pdf.Canvas.PdfCanvasConstants.DEFAULT_LINE_WIDTH = 1f
static

Default value for line width

◆ DEFAULT_MITER_LIMIT

const float iText.Kernel.Pdf.Canvas.PdfCanvasConstants.DEFAULT_MITER_LIMIT = 10f
static

Default value for miter limit

◆ DEFAULT_STROKE_COLOR

readonly Color iText.Kernel.Pdf.Canvas.PdfCanvasConstants.DEFAULT_STROKE_COLOR = DeviceGray.BLACK
static

Default value for stroke color

◆ DEFAULT_STROKE_OPACITY

const float iText.Kernel.Pdf.Canvas.PdfCanvasConstants.DEFAULT_STROKE_OPACITY = 1f
static

Default value for stroke opacity