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

DrawRectangleRoundedLines method updated and DrawRectangleRoundedLinesEx added

This commit is contained in:
JupiterRider 2024-12-06 18:39:08 +01:00
commit b331e885c5

View file

@ -1219,9 +1219,18 @@ public static unsafe partial class Raylib
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void DrawRectangleRounded(Rectangle rec, float roundness, int segments, Color color);
/// <summary>Draw rectangle with rounded edges outline</summary>
/// <summary>Draw rectangle lines with rounded edges/summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void DrawRectangleRoundedLines(
Rectangle rec,
float roundness,
int segments,
Color color
);
// <summary>Draw rectangle with rounded edges outline</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void DrawRectangleRoundedLinesEx(
Rectangle rec,
float roundness,
int segments,