Watch
2
0
Fork
You've already forked raylib-cs
0

draw methods parameter names improved

This commit is contained in:
JupiterRider 2024-12-06 18:34:20 +01:00
commit 517ef2ecd9

View file

@ -1111,8 +1111,8 @@ public static unsafe partial class Raylib
int centerX, int centerX,
int centerY, int centerY,
float radius, float radius,
Color color1, Color inner,
Color color2 Color outer
); );
/// <summary>Draw a color-filled circle (Vector version)</summary> /// <summary>Draw a color-filled circle (Vector version)</summary>
@ -1182,8 +1182,8 @@ public static unsafe partial class Raylib
int posY, int posY,
int width, int width,
int height, int height,
Color color1, Color top,
Color color2 Color bottom
); );
/// <summary>Draw a horizontal-gradient-filled rectangle</summary> /// <summary>Draw a horizontal-gradient-filled rectangle</summary>
@ -1193,18 +1193,18 @@ public static unsafe partial class Raylib
int posY, int posY,
int width, int width,
int height, int height,
Color color1, Color left,
Color color2 Color right
); );
/// <summary>Draw a gradient-filled rectangle with custom vertex colors</summary> /// <summary>Draw a gradient-filled rectangle with custom vertex colors</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void DrawRectangleGradientEx( public static extern void DrawRectangleGradientEx(
Rectangle rec, Rectangle rec,
Color col1, Color topLeft,
Color col2, Color bottomLeft,
Color col3, Color topRight,
Color col4 Color bottomRight
); );
/// <summary>Draw rectangle outline</summary> /// <summary>Draw rectangle outline</summary>