Class GraphicsOptions
Options for influencing the drawing functions.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp
Assembly: SixLabors.ImageSharp.dll
Syntax
public class GraphicsOptions : IDeepCloneable<GraphicsOptions>Constructors
| Improve this Doc View SourceGraphicsOptions()
Initializes a new instance of the GraphicsOptions class.
Declaration
public GraphicsOptions()Properties
| Improve this Doc View SourceAlphaCompositionMode
Gets or sets a value indicating the alpha composition mode to apply to the drawing operation Defaults to SrcOver.
Declaration
public PixelAlphaCompositionMode AlphaCompositionMode { get; set; }Property Value
| Type | Description | 
|---|---|
| PixelAlphaCompositionMode | 
Antialias
Gets or sets a value indicating whether antialiasing should be applied. Defaults to true.
Declaration
public bool Antialias { get; set; }Property Value
| Type | Description | 
|---|---|
| Boolean | 
AntialiasSubpixelDepth
Gets or sets a value indicating the number of subpixels to use while rendering with antialiasing enabled. Defaults to 16.
Declaration
public int AntialiasSubpixelDepth { get; set; }Property Value
| Type | Description | 
|---|---|
| Int32 | 
BlendPercentage
Gets or sets a value between indicating the blending percentage to apply to the drawing operation. Range 0..1; Defaults to 1.
Declaration
public float BlendPercentage { get; set; }Property Value
| Type | Description | 
|---|---|
| Single | 
ColorBlendingMode
Gets or sets a value indicating the color blending mode to apply to the drawing operation. Defaults to Normal.
Declaration
public PixelColorBlendingMode ColorBlendingMode { get; set; }Property Value
| Type | Description | 
|---|---|
| PixelColorBlendingMode | 
Methods
| Improve this Doc View SourceDeepClone()
Creates a new T that is a deep copy of the current instance.
Declaration
public GraphicsOptions DeepClone()Returns
| Type | Description | 
|---|---|
| GraphicsOptions | The  |