Click or drag to resize

PdfLineSegment Structure

Represents a segment of a PdfSubpath.
Inheritance Hierarchy
SystemObject
  SystemValueType
    SautinSoft.Pdf.ContentPdfLineSegment

Namespace: SautinSoft.Pdf.Content
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.5.19
Syntax
public struct PdfLineSegment : IEquatable<PdfLineSegment>

The PdfLineSegment type exposes the following members.

Constructors
 NameDescription
Public methodPdfLineSegment(PdfPoint) Initializes a new instance of the straight line segment.
Public methodPdfLineSegment(PdfPoint, PdfPoint, PdfPoint) Initializes a new instance of the curved line segment (cubic Bézier curve).
Top
Properties
 NameDescription
Public propertyControlPoint1 Gets the first control point of the curved line segment (cubic Bézier curve).
Public propertyControlPoint2 Gets the second control point of the curved line segment (cubic Bézier curve).
Public propertyEndPoint Gets the end point of the line segment.
Public propertyIsCurve Gets a value indicating whether this PdfLineSegment is a curved line segment (cubic Bézier curve).
Public propertyIsStraight Gets a value indicating whether this PdfLineSegment is a straight line segment.
Top
Methods
 NameDescription
Public methodEquals(Object) Determines whether the specified Object is equal to this PdfLineSegment instance.
(Overrides ValueTypeEquals(Object))
Public methodEquals(PdfLineSegment) Determines whether the other PdfLineSegment is equal to this PdfLineSegment instance.
Public methodGetHashCode Returns a hash code for this PdfLineSegment instance.
(Overrides ValueTypeGetHashCode)
Public methodToString Returns a String that represents this PdfLineSegment instance.
(Overrides ValueTypeToString)
Top
See Also