Class RendererNvg
- Namespace
- Lime
- Assembly
- Lime.dll
public static class RendererNvg
- Inheritance
-
RendererNvg
- Inherited Members
-
Methods
DrawCircle(Vector2, float, Paint, float)
public static void DrawCircle(Vector2 center, float radius, Paint paint, float thickness = 1)
Parameters
center
Vector2
radius
float
paint
Paint
thickness
float
DrawLine(Vector2, Vector2, Paint, float, LineCap)
public static void DrawLine(Vector2 a, Vector2 b, Paint paint, float thickness = 1, LineCap cap = LineCap.Butt)
Parameters
a
Vector2
b
Vector2
paint
Paint
thickness
float
cap
LineCap
DrawQuadrangle(Quadrangle, Paint)
public static void DrawQuadrangle(Quadrangle q, Paint paint)
Parameters
q
Quadrangle
paint
Paint
DrawQuadrangleOutline(Quadrangle, Paint, float)
public static void DrawQuadrangleOutline(Quadrangle q, Paint paint, float thickness = 1)
Parameters
q
Quadrangle
paint
Paint
thickness
float
DrawRect(Vector2, Vector2, Paint)
public static void DrawRect(Vector2 a, Vector2 b, Paint paint)
Parameters
a
Vector2
b
Vector2
paint
Paint
DrawRound(Vector2, float, Paint)
public static void DrawRound(Vector2 center, float radius, Paint paint)
Parameters
center
Vector2
radius
float
paint
Paint
DrawRoundedRect(Vector2, Vector2, Paint, float)
public static void DrawRoundedRect(Vector2 a, Vector2 b, Paint paint, float cornerRadius)
Parameters
a
Vector2
b
Vector2
paint
Paint
cornerRadius
float
DrawRoundedRectOutline(Vector2, Vector2, Paint, float, float)
public static void DrawRoundedRectOutline(Vector2 a, Vector2 b, Paint paint, float thickness, float cornerRadius)
Parameters
a
Vector2
b
Vector2
paint
Paint
thickness
float
cornerRadius
float
DrawRoundedRectWithBorder(Vector2, Vector2, Paint, Paint, float, float)
public static void DrawRoundedRectWithBorder(Vector2 a, Vector2 b, Paint innerPaint, Paint borderPaint, float thickness, float cornerRadius)
Parameters
a
Vector2
b
Vector2
innerPaint
Paint
borderPaint
Paint
thickness
float
cornerRadius
float