Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fogleman/primitive
/ Rectangle
Struct
Rectangle
primitive/rectangle.go:10–14 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8
)
9
10
type
Rectangle
struct
{
11
Worker *Worker
12
X1, Y1 int
13
X2, Y2 int
14
}
15
16
func
NewRandomRectangle(worker *Worker) *Rectangle {
17
rnd := worker.Rnd
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected