• Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • SixLabors.ImageSharp.Drawing
      • ArcLineSegment
      • ClipPathExtensions
      • ClippingOperation
      • ComplexPolygon
      • CubicBezierLineSegment
      • EllipsePolygon
      • EmptyPath
      • EndCapStyle
      • ILineSegment
      • IPath
      • IPathCollection
      • ISimplePath
      • IntersectionRule
      • JointStyle
      • LinearLineSegment
      • OutlinePathExtensions
      • Path
      • PathBuilder
      • PathCollection
      • PathExtensions
      • PathTypes
      • Polygon
      • RectangularPolygon
      • RegularPolygon
      • SegmentInfo
      • Star
      • TextBuilder
    • SixLabors.ImageSharp.Drawing.Processing
      • Brush
      • BrushApplicator<TPixel>
      • Brushes
      • ClearExtensions
      • ClearPathExtensions
      • ClearRectangleExtensions
      • ClipPathExtensions
      • ColorStop
      • DrawBezierExtensions
      • DrawLineExtensions
      • DrawPathCollectionExtensions
      • DrawPathExtensions
      • DrawPolygonExtensions
      • DrawRectangleExtensions
      • DrawTextExtensions
      • DrawingOptions
      • DrawingOptionsDefaultsExtensions
      • EllipticGradientBrush
      • FillExtensions
      • FillPathBuilderExtensions
      • FillPathCollectionExtensions
      • FillPathExtensions
      • FillPolygonExtensions
      • FillRectangleExtensions
      • GradientBrush
      • GradientRepetitionMode
      • ImageBrush
      • LinearGradientBrush
      • PathGradientBrush
      • PatternBrush
      • PatternPen
      • Pen
      • PenOptions
      • Pens
      • RadialGradientBrush
      • RecolorBrush
      • RichTextOptions
      • RichTextRun
      • ShapeGraphicOptionsDefaultsExtensions
      • ShapeOptions
      • SolidBrush
      • SolidPen
    • SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing
      • ClipPathProcessor
      • DrawPathProcessor
      • FillPathProcessor
      • FillProcessor
    • SixLabors.ImageSharp.Drawing.Processing.Processors.Text
      • DrawTextProcessor
    • SixLabors.ImageSharp.Drawing.Shapes.PolygonClipper
      • ClipperException
      • ClippingType

    Class LinearLineSegment

    Represents a series of control points that will be joined by straight lines

    Inheritance
    object
    LinearLineSegment
    Implements
    ILineSegment
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: SixLabors.ImageSharp.Drawing
    Assembly: SixLabors.ImageSharp.Drawing.dll
    Syntax
    public sealed class LinearLineSegment : ILineSegment

    Constructors

    | Edit this page View Source

    LinearLineSegment(PointF, PointF)

    Initializes a new instance of the LinearLineSegment class.

    Declaration
    public LinearLineSegment(PointF start, PointF end)
    Parameters
    Type Name Description
    PointF start

    The start.

    PointF end

    The end.

    | Edit this page View Source

    LinearLineSegment(PointF, PointF, params PointF[])

    Initializes a new instance of the LinearLineSegment class.

    Declaration
    public LinearLineSegment(PointF point1, PointF point2, params PointF[] additionalPoints)
    Parameters
    Type Name Description
    PointF point1

    The point1.

    PointF point2

    The point2.

    PointF[] additionalPoints

    Additional points

    | Edit this page View Source

    LinearLineSegment(PointF[])

    Initializes a new instance of the LinearLineSegment class.

    Declaration
    public LinearLineSegment(PointF[] points)
    Parameters
    Type Name Description
    PointF[] points

    The points.

    Properties

    | Edit this page View Source

    EndPoint

    Gets the end point.

    Declaration
    public PointF EndPoint { get; }
    Property Value
    Type Description
    PointF

    The end point.

    Methods

    | Edit this page View Source

    Flatten()

    Converts the ILineSegment into a simple linear path..

    Declaration
    public ReadOnlyMemory<PointF> Flatten()
    Returns
    Type Description
    ReadOnlyMemory<PointF>

    Returns the current ILineSegment as simple linear path.

    | Edit this page View Source

    Transform(Matrix3x2)

    Transforms the current LineSegment using specified matrix.

    Declaration
    public LinearLineSegment Transform(Matrix3x2 matrix)
    Parameters
    Type Name Description
    Matrix3x2 matrix

    The matrix.

    Returns
    Type Description
    LinearLineSegment

    A line segment with the matrix applied to it.

    Implements

    ILineSegment

    See Also

    ILineSegment
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX