Class TextureDraw
Inheritance
System.Object
TextureDraw
Assembly: AxEngine.dll
Syntax
public static class TextureDraw
Methods
|
Improve this Doc
View Source
DrawCircle(Image, Int32, Int32, Int32, Color, Int32)
Declaration
public static void DrawCircle(Image tex, int cx, int cy, int r, Color col, int thickness)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Image |
tex |
|
System.Int32 |
cx |
|
System.Int32 |
cy |
|
System.Int32 |
r |
|
SixLabors.ImageSharp.Color |
col |
|
System.Int32 |
thickness |
|
|
Improve this Doc
View Source
DrawFilledCircle(Image, Int32, Int32, Int32, Color, Color, Int32)
Declaration
public static void DrawFilledCircle(Image tex, int cx, int cy, int r, Color col, Color bgcol, int thickness)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Image |
tex |
|
System.Int32 |
cx |
|
System.Int32 |
cy |
|
System.Int32 |
r |
|
SixLabors.ImageSharp.Color |
col |
|
SixLabors.ImageSharp.Color |
bgcol |
|
System.Int32 |
thickness |
|
|
Improve this Doc
View Source
DrawFilledPolygon(Image, Int32, Int32, Int32, Int32, Color, Color, Int32)
Declaration
public static void DrawFilledPolygon(Image tex, int n, int r, int rot, int size, Color color, Color backgroundColor, int thickness)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Image |
tex |
|
System.Int32 |
n |
|
System.Int32 |
r |
|
System.Int32 |
rot |
|
System.Int32 |
size |
|
SixLabors.ImageSharp.Color |
color |
|
SixLabors.ImageSharp.Color |
backgroundColor |
|
System.Int32 |
thickness |
|
|
Improve this Doc
View Source
DrawLine(Image, Int32, Int32, Int32, Int32, Color, Int32)
Declaration
public static void DrawLine(Image tex, int x0, int y0, int x1, int y1, Color col, int thickness)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Image |
tex |
|
System.Int32 |
x0 |
|
System.Int32 |
y0 |
|
System.Int32 |
x1 |
|
System.Int32 |
y1 |
|
SixLabors.ImageSharp.Color |
col |
|
System.Int32 |
thickness |
|
|
Improve this Doc
View Source
DrawPolygon(Image, Int32, Int32, Int32, Int32, Color, Int32)
Declaration
public static void DrawPolygon(Image tex, int n, int r, int rot, int size, Color col, int thickness)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Image |
tex |
|
System.Int32 |
n |
|
System.Int32 |
r |
|
System.Int32 |
rot |
|
System.Int32 |
size |
|
SixLabors.ImageSharp.Color |
col |
|
System.Int32 |
thickness |
|
|
Improve this Doc
View Source
SetPixel(Image, Int32, Int32, Color)
Declaration
public static void SetPixel(this Image image, int x, int y, Color color)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Image |
image |
|
System.Int32 |
x |
|
System.Int32 |
y |
|
SixLabors.ImageSharp.Color |
color |
|