Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cogentcore/core
/ Clear
Method
Clear
paint/raster/raster.go:57–57 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
55
56
SetWinding(useNonZeroWinding bool)
57
Clear()
58
59
// SetClip sets an optional clipping rectangle to restrict rendering only to
60
// that region. If rect is zero (image.Rectangle{}), then clipping is disabled.
Callers
10
ClearPath
Method · 0.65
StrokePreserve
Method · 0.65
FillPreserve
Method · 0.65
Clear
Method · 0.65
BenchmarkDash
Function · 0.65
TestRoundRect
Function · 0.65
TestShapes
Function · 0.65
doShapes
Function · 0.65
TestGradient
Function · 0.65
TestMultiFunction
Function · 0.65
Implementers
1
Scanner
paint/scan/scan.go
Calls
no outgoing calls
Tested by
6
BenchmarkDash
Function · 0.52
TestRoundRect
Function · 0.52
TestShapes
Function · 0.52
doShapes
Function · 0.52
TestGradient
Function · 0.52
TestMultiFunction
Function · 0.52