GemBox.Pdf
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    PdfSubpath Class

    Namespace:
    GemBox.Pdf.Content
    Assembly:
    GemBox.Pdf.dll

    Represents a subsection of a path comprising a sequence of connected segments.

    • C#
    • VB.NET
    public sealed class PdfSubpath
    Public NotInheritable Class PdfSubpath
    Inheritance:
    System.Object
    PdfSubpath

    Properties

    IsClosed

    Gets or sets a value that specifies whether this PdfSubpath's first and last PdfLineSegments are connected.

    • C#
    • VB.NET
    public bool IsClosed { get; set; }
    Public Property IsClosed As Boolean
    Property Value
    System.Boolean

    true if this PdfSubpath's first and last PdfLineSegments are connected; otherwise, false.

    Segments

    Gets the line segments that this PdfSubpath is made up of.

    • C#
    • VB.NET
    public PdfLineSegmentCollection Segments { get; }
    Public ReadOnly Property Segments As PdfLineSegmentCollection
    Property Value
    PdfLineSegmentCollection

    The line segments that this PdfSubpath is made up of.

    StartPoint

    Gets or sets the PdfPoint where the PdfSubpath begins.

    • C#
    • VB.NET
    public PdfPoint StartPoint { get; set; }
    Public Property StartPoint As PdfPoint
    Property Value
    PdfPoint

    The PdfPoint where the PdfSubpath begins.

    Methods

    Clone()

    Creates a new PdfSubpath that is a copy of the current PdfSubpath.

    • C#
    • VB.NET
    public PdfSubpath Clone()
    Public Function Clone As PdfSubpath
    Returns
    PdfSubpath

    A new PdfSubpath that is a copy of this PdfSubpath.

    Examples

    Shapes (Paths) example

    See Also

    PDF Specification ISO 32000-1:2008, section '8.5 Path Construction and Painting'
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.