• Articles
  • API Documentation
Search Results for

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

    Class Star

    A shape made up of a single closed path made up of one of more ILineSegments

    Inheritance
    Object
    Path
    Polygon
    Star
    Implements
    ISimplePath
    IPath
    Inherited Members
    Polygon.IsClosed
    Polygon.Transform(Matrix3x2)
    Path.ISimplePath.IsClosed
    Path.Points
    Path.Bounds
    Path.PathType
    Path.LineSegments
    Path.AsClosedPath()
    Path.Flatten()
    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 sealed class Star : Polygon, ISimplePath, IPath

    Constructors

    | Improve this Doc View Source

    Star(PointF, Int32, Single, Single)

    Initializes a new instance of the Star class.

    Declaration
    public Star(PointF location, int prongs, float innerRadii, float outerRadii)
    Parameters
    Type Name Description
    PointF location

    The location the center of the polygon will be placed.

    Int32 prongs

    The number of verticies the Star should have.

    Single innerRadii

    The inner radii.

    Single outerRadii

    The outer radii.

    | Improve this Doc View Source

    Star(PointF, Int32, Single, Single, Single)

    Initializes a new instance of the Star class.

    Declaration
    public Star(PointF location, int prongs, float innerRadii, float outerRadii, float angle)
    Parameters
    Type Name Description
    PointF location

    The location the center of the polygon will be placed.

    Int32 prongs

    The number of points the Star should have.

    Single innerRadii

    The inner radii.

    Single outerRadii

    The outer radii.

    Single angle

    The angle of rotation in Radians

    | Improve this Doc View Source

    Star(Single, Single, Int32, Single, Single)

    Initializes a new instance of the Star class.

    Declaration
    public Star(float x, float y, int prongs, float innerRadii, float outerRadii)
    Parameters
    Type Name Description
    Single x

    The x-coordinate of the center of the polygon.

    Single y

    The y-coordinate of the center of the polygon.

    Int32 prongs

    The number of verticies the RegularPolygon should have.

    Single innerRadii

    The inner radii.

    Single outerRadii

    The outer radii.

    | Improve this Doc View Source

    Star(Single, Single, Int32, Single, Single, Single)

    Initializes a new instance of the Star class.

    Declaration
    public Star(float x, float y, int prongs, float innerRadii, float outerRadii, float angle)
    Parameters
    Type Name Description
    Single x

    The x-coordinate of the center of the polygon.

    Single y

    The y-coordinate of the center of the polygon.

    Int32 prongs

    The number of verticies the RegularPolygon should have.

    Single innerRadii

    The inner radii.

    Single outerRadii

    The outer radii.

    Single angle

    The angle of rotation in Radians

    Implements

    ISimplePath
    IPath

    Extension Methods

    ClipPathExtensions.Clip(IPath, IEnumerable<IPath>)
    ClipPathExtensions.Clip(IPath, IPath[])
    OutlinePathExtensions.GenerateOutline(IPath, Single, Single[])
    OutlinePathExtensions.GenerateOutline(IPath, Single, ReadOnlySpan<Single>)
    OutlinePathExtensions.GenerateOutline(IPath, Single, Single[], Boolean)
    OutlinePathExtensions.GenerateOutline(IPath, Single, ReadOnlySpan<Single>, Boolean)
    OutlinePathExtensions.GenerateOutline(IPath, Single, ReadOnlySpan<Single>, Boolean, JointStyle, EndCapStyle)
    OutlinePathExtensions.GenerateOutline(IPath, Single)
    OutlinePathExtensions.GenerateOutline(IPath, Single, JointStyle, EndCapStyle)
    PathExtensions.Rotate(IPath, Single)
    PathExtensions.RotateDegree(IPath, Single)
    PathExtensions.Translate(IPath, PointF)
    PathExtensions.Translate(IPath, Single, Single)
    PathExtensions.Scale(IPath, Single, Single)
    PathExtensions.Scale(IPath, Single)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX