Class StrokeOptions
- Namespace
- SixLabors.PolygonClipper
- Assembly
- SixLabors.PolygonClipper.dll
Provides configuration options for geometric stroke generation.
public sealed class StrokeOptions : IEquatable<StrokeOptions?>
- Inheritance
-
StrokeOptions
- Implements
- Inherited Members
Properties
ArcDetailScale
Gets or sets the tessellation detail scale for round joins and round caps. Higher values produce more vertices (smoother curves, more work). Lower values produce fewer vertices.
public double ArcDetailScale { get; set; }
Property Value
LineCap
Gets or sets the line cap style used for open path ends.
public LineCap LineCap { get; set; }
Property Value
LineJoin
Gets or sets the outer line join style used for stroking corners.
public LineJoin LineJoin { get; set; }
Property Value
MiterLimit
Gets or sets the miter limit used to clamp outer miter joins.
public double MiterLimit { get; set; }
Property Value
NormalizeOutput
Gets or sets a value indicating whether stroked contours should be normalized by resolving self-intersections and overlaps before returning.
public bool NormalizeOutput { get; set; }
Property Value
Remarks
Defaults to false for maximum throughput. When disabled, callers should rasterize with a non-zero winding fill rule.
Methods
Equals(StrokeOptions?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(StrokeOptions? other)
Parameters
otherStrokeOptionsAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.