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
ShapeOptions()
Initializes a new instance of the ShapeOptions class.
Declaration
public ShapeOptions()
Properties
ClippingOperation
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
DeepClone()
Creates a new ShapeOptions that is a deep copy of the current instance.
Declaration
public ShapeOptions DeepClone()
Returns
| Type | Description |
|---|---|
| ShapeOptions | The ShapeOptions. |