• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class PdfLayoutPathPrimitive

Normalized vector path primitive with mapped construction points.

Inheritance
object
PdfLayoutPrimitive
PdfLayoutPathPrimitive
Inherited Members
PdfLayoutPrimitive.Id
PdfLayoutPrimitive.SourceId
PdfLayoutPrimitive.Kind
PdfLayoutPrimitive.SourceBounds
PdfLayoutPrimitive.Bounds
PdfLayoutPrimitive.IsSanitized
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
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
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX