Interface ILineSegment
Represents a simple path segment
Namespace: SixLabors.ImageSharp.Drawing
Assembly: SixLabors.ImageSharp.Drawing.dll
Syntax
public interface ILineSegment
Properties
| Edit this page View SourceEndPoint
Gets the end point.
Declaration
PointF EndPoint { get; }
Property Value
| Type | Description |
|---|---|
| PointF | The end point. |
Methods
| Edit this page View SourceFlatten()
Converts the ILineSegment into a simple linear path..
Declaration
ReadOnlyMemory<PointF> Flatten()
Returns
| Type | Description |
|---|---|
| ReadOnlyMemory<PointF> | Returns the current ILineSegment as simple linear path. |
Transform(Matrix3x2)
Transforms the current LineSegment using specified matrix.
Declaration
ILineSegment Transform(Matrix3x2 matrix)
Parameters
| Type | Name | Description |
|---|---|---|
| Matrix3x2 | matrix | The matrix. |
Returns
| Type | Description |
|---|---|
| ILineSegment | A line segment with the matrix applied to it. |