Standard Library

GoImage

Go stdlib package — image. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.Alpha.AlphaAt()Neutral
#
Signature
Alpha.AlphaAt(x int, y int) color.Alpha

Alpha.AlphaAt function.

.Alpha.At()Neutral
#
Signature
Alpha.At(x int, y int) color.Color

Alpha.At function.

.Alpha.Bounds()Neutral
#
Signature
Alpha.Bounds() Rectangle

Alpha.Bounds function.

.Alpha.ColorModel()Neutral
#
Signature
Alpha.ColorModel() color.Model

Alpha.ColorModel function.

.Alpha.Opaque()Neutral
#
Signature
Alpha.Opaque() bool

Opaque scans the entire image and reports whether it is fully opaque.

.Alpha.PixOffset()Neutral
#
Signature
Alpha.PixOffset(x int, y int) int

PixOffset returns the index of the first element of Pix that corresponds to

.Alpha.RGBA64At()Neutral
#
Signature
Alpha.RGBA64At(x int, y int) color.RGBA64

Alpha.RGBA64At function.

.Alpha.Set()Neutral
#
Signature
Alpha.Set(x int, y int, c color.Color)

Alpha.Set function.

.Alpha.SetAlpha()Neutral
#
Signature
Alpha.SetAlpha(x int, y int, c color.Alpha)

Alpha.SetAlpha function.

.Alpha.SetRGBA64()Neutral
#
Signature
Alpha.SetRGBA64(x int, y int, c color.RGBA64)

Alpha.SetRGBA64 function.

Fully-Qualified Names

FQNField
imagefqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

go.mod
// standard library — no go.mod entry required
rule.py
from codepathfinder.go_rule import ...  # image