Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AngusJohnson/Clipper2
/ RandomColor
Method
RandomColor
CSharp/Utils/SVG/Clipper.SVG.Utils.cs:22–25 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
20
private static readonly Random rc = new Random();
21
22
public static uint RandomColor()
23
{
24
return (uint) (rc.Next() | 0xBF000000);
25
}
26
27
public static void AddCaption(SvgWriter svg, string caption, int x, int y)
28
{
Callers
nothing calls this directly
Calls
1
Next
Method · 0.80
Tested by
no test coverage detected