Class Drawing.NoAA
A specialized class the deals with drawing graphics without anti-aliasing.
It deals with two issues:
Assembly: Acoustics.Shared.dll
Syntax
Constructors
|
Improve this Doc
View Source
NoAA(IImageProcessingContext)
Declaration
public NoAA(IImageProcessingContext context)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Processing.IImageProcessingContext |
context |
|
Fields
|
Improve this Doc
View Source
Bug28Offset
Defines behaviour for where to draw stroke relative to the true real line
defined by a path.
Declaration
public static readonly PointF Bug28Offset
Field Value
Type |
Description |
SixLabors.ImageSharp.PointF |
|
Methods
|
Improve this Doc
View Source
DrawBorderInset(Pen, RectangleF)
Draws a border line on the inside perimiter of rectangle.
ImageSharp by default draws lines split either side of the imaginary
center line.
Declaration
public void DrawBorderInset(Pen border, RectangleF rectangle)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Drawing.Processing.Pen |
border |
|
SixLabors.ImageSharp.RectangleF |
rectangle |
|
|
Improve this Doc
View Source
DrawLine(IPen, Int32, Int32, Int32, Int32)
Declaration
public void DrawLine(IPen pen, int x1, int y1, int x2, int y2)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Drawing.Processing.IPen |
pen |
|
Int32 |
x1 |
|
Int32 |
y1 |
|
Int32 |
x2 |
|
Int32 |
y2 |
|
|
Improve this Doc
View Source
DrawLines(Color, Single, PointF[])
Declaration
public void DrawLines(Color color, float thickness, params PointF[] points)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Color |
color |
|
Single |
thickness |
|
SixLabors.ImageSharp.PointF[] |
points |
|
|
Improve this Doc
View Source
DrawLines(IPen, PointF[])
Declaration
public void DrawLines(IPen pen, params PointF[] points)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Drawing.Processing.IPen |
pen |
|
SixLabors.ImageSharp.PointF[] |
points |
|
|
Improve this Doc
View Source
DrawRectangle(Color, Int32, Int32, Int32, Int32, Single)
Draws a thickness
thick (1px by default)
bordered rectangle with no fill with anti-aliasing disabled.
Declaration
public void DrawRectangle(Color color, int x1, int y1, int x2, int y2, float thickness = 1F)
Parameters
|
Improve this Doc
View Source
DrawRectangle(Pen, RectangleF)
Declaration
public void DrawRectangle(Pen border, RectangleF rectangle)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Drawing.Processing.Pen |
border |
|
SixLabors.ImageSharp.RectangleF |
rectangle |
|
|
Improve this Doc
View Source
DrawRectangle(Pen, Int32, Int32, Int32, Int32)
Declaration
public void DrawRectangle(Pen pen, int x1, int y1, int x2, int y2)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Drawing.Processing.Pen |
pen |
|
Int32 |
x1 |
|
Int32 |
y1 |
|
Int32 |
x2 |
|
Int32 |
y2 |
|
|
Improve this Doc
View Source
FillRectangle(IBrush, Int32, Int32, Int32, Int32)
Declaration
public void FillRectangle(IBrush brush, int x1, int y1, int x2, int y2)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Drawing.Processing.IBrush |
brush |
|
Int32 |
x1 |
|
Int32 |
y1 |
|
Int32 |
x2 |
|
Int32 |
y2 |
|
Extension Methods