Class ShapeOptions
Options for influencing the drawing functions.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Drawing.Processing
Assembly: SixLabors.ImageSharp.Drawing.dll
Syntax
public class ShapeOptions : IDeepCloneable<ShapeOptions>
Constructors
| Edit this page View SourceShapeOptions()
Initializes a new instance of the ShapeOptions class.
Declaration
public ShapeOptions()
Properties
| Edit this page View SourceClippingOperation
Gets or sets the clipping operation.
Defaults to Difference.Declaration
public ClippingOperation ClippingOperation { get; set; }
Property Value
Type | Description |
---|---|
ClippingOperation |
IntersectionRule
Gets or sets the rule for calculating intersection points.
Defaults to EvenOdd.Declaration
public IntersectionRule IntersectionRule { get; set; }
Property Value
Type | Description |
---|---|
IntersectionRule |
Methods
| Edit this page View SourceDeepClone()
Creates a new ShapeOptions that is a deep copy of the current instance.
Declaration
public ShapeOptions DeepClone()
Returns
Type | Description |
---|---|
ShapeOptions | The ShapeOptions. |