Search Results for

    Show / Hide Table of Contents

    Class LineSegment

    Path for a linear segment.

    Inheritance
    System.Object
    LineSegment
    Implements
    IronSoftware.Abstractions.ILineSegment
    IronSoftware.Abstractions.IPathSegment
    Namespace: IronWord.Models
    Assembly: IronWord.dll
    Syntax
    public class LineSegment : Object, ILineSegment, IPathSegment

    Constructors

    LineSegment(PointF, Boolean, Boolean)

    Create a new line segment.

    Declaration
    public LineSegment(PointF coordinate, bool isClose = false, bool separateFromPrevious = true)
    Parameters
    Type Name Description
    System.Drawing.PointF coordinate

    The (x, y) coordinate of the end of the line segment.

    System.Boolean isClose

    Whether this line segment closes the path or not.

    System.Boolean separateFromPrevious

    Whether this line segment connects to the previous line segment or not.

    Properties

    Coordinate

    Coordinate of the line segment.

    Declaration
    public PointF Coordinate { get; set; }
    Property Value
    Type Description
    System.Drawing.PointF

    IsClose

    Whether this line segment connects back to the path start or not.

    Declaration
    public bool IsClose { get; set; }
    Property Value
    Type Description
    System.Boolean

    SeparateFromPrevious

    Whether this line segment connects to the previous line segment or not.

    Declaration
    public bool SeparateFromPrevious { get; set; }
    Property Value
    Type Description
    System.Boolean

    Implements

    IronSoftware.Abstractions.ILineSegment
    IronSoftware.Abstractions.IPathSegment
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    Want to deploy IronWord to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronWord free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.