Class PdfDrawCommand
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
boundsPdfRect?
Properties
Bounds
public PdfRect? Bounds { get; init; }