• Articles
  • API Documentation
Search Results for

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

    Class ArcLineSegment

    Represents a line segment that contains radii and angles that will be rendered as a elliptical arc.

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

    Constructors

    | Improve this Doc View Source

    ArcLineSegment(PointF, PointF, SizeF, Single, Boolean, Boolean)

    Initializes a new instance of the ArcLineSegment class.

    Declaration
    public ArcLineSegment(PointF from, PointF to, SizeF radius, float rotation, bool largeArc, bool sweep)
    Parameters
    Type Name Description
    PointF from

    The absolute coordinates of the current point on the path.

    PointF to

    The absolute coordinates of the final point of the arc.

    SizeF radius

    The radii of the ellipse (also known as its semi-major and semi-minor axes).

    Single rotation

    The angle, in degrees, from the x-axis of the current coordinate system to the x-axis of the ellipse.

    Boolean largeArc

    The large arc flag, and is false if an arc spanning less than or equal to 180 degrees is chosen, or true if an arc spanning greater than 180 degrees is chosen.

    Boolean sweep

    The sweep flag, and is false if the line joining center to arc sweeps through decreasing angles, or true if it sweeps through increasing angles.

    | Improve this Doc View Source

    ArcLineSegment(PointF, SizeF, Single, Single, Single)

    Initializes a new instance of the ArcLineSegment class.

    Declaration
    public ArcLineSegment(PointF center, SizeF radius, float rotation, float startAngle, float sweepAngle)
    Parameters
    Type Name Description
    PointF center

    The coordinates of the center of the ellipse.

    SizeF radius

    The radii of the ellipse (also known as its semi-major and semi-minor axes).

    Single rotation

    The angle, in degrees, from the x-axis of the current coordinate system to the x-axis of the ellipse.

    Single startAngle

    The start angle of the elliptical arc prior to the stretch and rotate operations. (0 is at the 3 o'clock position of the arc's circle).

    Single sweepAngle

    The angle between startAngle and the end of the arc.

    Properties

    | Improve this Doc View Source

    EndPoint

    Gets the end point.

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

    The end point.

    Methods

    | Improve this Doc 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.

    | Improve this Doc View Source

    Transform(Matrix3x2)

    Transforms the current ArcLineSegment using specified matrix.

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

    The transformation matrix.

    Returns
    Type Description
    ILineSegment

    An ArcLineSegment with the matrix applied to it.

    Explicit Interface Implementations

    | Improve this Doc View Source

    ILineSegment.Transform(Matrix3x2)

    Transforms the current LineSegment using specified matrix.

    Declaration
    ILineSegment 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.

    Implements

    ILineSegment
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX