Table of Contents

Class CurrentGraphicsState

Namespace
UglyToad.PdfPig.Graphics
Assembly
UglyToad.PdfPig.dll

The state of the current graphics control parameters set by operations in the content stream.

public class CurrentGraphicsState : IDeepCloneable<CurrentGraphicsState>
Inheritance
CurrentGraphicsState
Implements
Inherited Members

Remarks

Initialized per page.

Constructors

CurrentGraphicsState()

public CurrentGraphicsState()

Properties

AlphaConstantNonStroking

Opacity value to be used for transparent imaging.

public decimal AlphaConstantNonStroking { get; set; }

Property Value

decimal

AlphaConstantStroking

Opacity value to be used for transparent imaging.

public decimal AlphaConstantStroking { get; set; }

Property Value

decimal

AlphaSource

Should soft mask and alpha constant values be interpreted as shape (true) or opacity (false) values?

public bool AlphaSource { get; set; }

Property Value

bool

CapStyle

Specifies the shape of line ends for open stroked paths.

public LineCapStyle CapStyle { get; set; }

Property Value

LineCapStyle

ColorSpaceContext

The active colorspaces for this content stream.

public IColorSpaceContext ColorSpaceContext { get; set; }

Property Value

IColorSpaceContext

CurrentClippingPath

The current clipping path.

public PdfPath CurrentClippingPath { get; set; }

Property Value

PdfPath

CurrentNonStrokingColor

The current active non-stroking color for text and fill.

public IColor CurrentNonStrokingColor { get; set; }

Property Value

IColor

CurrentStrokingColor

The current active stroking color for paths.

public IColor CurrentStrokingColor { get; set; }

Property Value

IColor

CurrentTransformationMatrix

Maps positions from user coordinates to device coordinates.

public TransformationMatrix CurrentTransformationMatrix { get; set; }

Property Value

TransformationMatrix

Flatness

The precision for rendering curves, smaller numbers give smoother curves.

public decimal Flatness { get; set; }

Property Value

decimal

FontState

The CurrentFontState for this graphics state.

public CurrentFontState FontState { get; set; }

Property Value

CurrentFontState

JoinStyle

Specifies the shape of joins between connected stroked path segments.

public LineJoinStyle JoinStyle { get; set; }

Property Value

LineJoinStyle

LineDashPattern

The pattern to be used for stroked lines.

public LineDashPattern LineDashPattern { get; set; }

Property Value

LineDashPattern

LineWidth

Thickness in user space units of path to be stroked.

public decimal LineWidth { get; set; }

Property Value

decimal

MiterLimit

Maximum length of mitered line joins for paths before becoming a bevel.

public decimal MiterLimit { get; set; }

Property Value

decimal

NonStrokingOverprint

As for Overprint but with non-stroking operations.

public bool NonStrokingOverprint { get; set; }

Property Value

bool

Overprint

Should painting in a colorant set erase (false) or leave unchanged (true) areas of other colorant sets?

public bool Overprint { get; set; }

Property Value

bool

OverprintMode

In DeviceCMYK color space a value of 0 for a component will erase a component (0) or leave it unchanged (1) for overprinting.

public decimal OverprintMode { get; set; }

Property Value

decimal

RenderingIntent

The rendering intent to use when converting CIE-based colors to device colors.

public RenderingIntent RenderingIntent { get; set; }

Property Value

RenderingIntent

Smoothness

The precision for rendering color gradients on the output device.

public decimal Smoothness { get; set; }

Property Value

decimal

StrokeAdjustment

Should a correction for rasterization effects be applied?

public bool StrokeAdjustment { get; set; }

Property Value

bool

Methods

DeepClone()

public CurrentGraphicsState DeepClone()

Returns

CurrentGraphicsState