//
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0.
//
namespace ImageSharp.Drawing
{
///
/// Options for influencing the drawing functions.
///
public struct GraphicsOptions
{
///
/// Represents the default .
///
public static readonly GraphicsOptions Default = new GraphicsOptions(true);
///
/// Whether antialiasing should be applied.
///
public bool Antialias;
///
/// Initializes a new instance of the struct.
///
/// If set to true [enable antialiasing].
public GraphicsOptions(bool enableAntialiasing)
{
this.Antialias = enableAntialiasing;
}
}
}