Table of Contents

Class PdfDrawCommand

Namespace
PdfEngine.Vector
Assembly
PdfEngine.Abstractions.dll

Base class for all immutable drawing commands within a PDF display list.

public abstract record PdfDrawCommand : IEquatable<PdfDrawCommand>
Inheritance
PdfDrawCommand
Implements
Derived
Inherited Members

Remarks

Geometry inside a command is in the current user space established by the preceding ConcatTransform commands. Bounds, when present, is a conservative box in default user space (page space) so renderers can cull without replaying transforms. Unknown bounds (null) means "always draw".

Constructors

PdfDrawCommand()

protected PdfDrawCommand()

PdfDrawCommand(PdfRect?)

protected PdfDrawCommand(PdfRect? bounds)

Parameters

bounds PdfRect?

Properties

Bounds

public PdfRect? Bounds { get; init; }

Property Value

PdfRect?