Go stdlib package — image. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.Alpha.Opaque()NeutralAlpha.Opaque() bool
Opaque scans the entire image and reports whether it is fully opaque.
.Alpha.PixOffset()NeutralAlpha.PixOffset(x int, y int) int
PixOffset returns the index of the first element of Pix that corresponds to
.Alpha.SetAlpha()NeutralAlpha.SetAlpha(x int, y int, c color.Alpha)
Alpha.SetAlpha function.
.Alpha.SetRGBA64()NeutralAlpha.SetRGBA64(x int, y int, c color.RGBA64)
Alpha.SetRGBA64 function.
| FQN | Field | |
|---|---|---|
| image | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
// standard library — no go.mod entry required
from codepathfinder.go_rule import ... # image