Class PdfLayoutPathPrimitive
Normalized vector path primitive with mapped construction points.
Inherited Members
Namespace: DRIT.Document.Import.Pdf
Assembly: DRIT.Document.dll
Syntax
public sealed class PdfLayoutPathPrimitive : PdfLayoutPrimitive
Constructors
PdfLayoutPathPrimitive(string, string, PdfRect, PdfLayoutRect, IEnumerable<PdfLayoutPoint>, bool, bool, string, double, PdfLayoutColor, PdfLayoutColor, bool)
Initializes a new PdfLayoutPathPrimitive from normalized PDF extraction data.
Declaration
public PdfLayoutPathPrimitive(string id, string sourceId, PdfRect sourceBounds, PdfLayoutRect bounds, IEnumerable<PdfLayoutPoint> points, bool fillApplied, bool strokeApplied, string fillRule, double strokeWidth, PdfLayoutColor fillColor, PdfLayoutColor strokeColor, bool isSanitized)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | |
| string | sourceId | |
| PdfRect | sourceBounds | |
| PdfLayoutRect | bounds | |
| IEnumerable<PdfLayoutPoint> | points | |
| bool | fillApplied | |
| bool | strokeApplied | |
| string | fillRule | |
| double | strokeWidth | |
| PdfLayoutColor | fillColor | |
| PdfLayoutColor | strokeColor | |
| bool | isSanitized |
Properties
FillApplied
Gets whether the source path fill was applied during projection.
Declaration
public bool FillApplied { get; }
Property Value
| Type | Description |
|---|---|
| bool |
FillColor
Gets the fill color retained for the projected path.
Declaration
public PdfLayoutColor FillColor { get; }
Property Value
| Type | Description |
|---|---|
| PdfLayoutColor |
FillRule
Gets the fill rule used to render the projected path.
Declaration
public string FillRule { get; }
Property Value
| Type | Description |
|---|---|
| string |
Points
Gets the page dimensions in points.
Declaration
public IReadOnlyList<PdfLayoutPoint> Points { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<PdfLayoutPoint> |
StrokeApplied
Gets whether the source path stroke was applied during projection.
Declaration
public bool StrokeApplied { get; }
Property Value
| Type | Description |
|---|---|
| bool |
StrokeColor
Gets the stroke color retained for the projected path.
Declaration
public PdfLayoutColor StrokeColor { get; }
Property Value
| Type | Description |
|---|---|
| PdfLayoutColor |
StrokeWidth
Gets the stroke width retained for the projected path, in points.
Declaration
public double StrokeWidth { get; }
Property Value
| Type | Description |
|---|---|
| double |