MCPcopy Index your code
hub / github.com/faiface/pixel / PictureColor

Interface PictureColor

interface.go:130–133  ·  view source on GitHub ↗

PictureColor specifies Picture with Color property, so that every position inside the Picture's Bounds has a color. Positions outside the Picture's Bounds must return full transparent (Alpha(0)).

Source from the content-addressed store, hash-verified

128//
129// Positions outside the Picture's Bounds must return full transparent (Alpha(0)).
130type PictureColor interface {
131 Picture
132 Color(at Vec) RGBA
133}

Callers 7

updateDataMethod · 0.65
PictureDataFromPictureFunction · 0.65
ColorMethod · 0.65
NewGLPictureFunction · 0.65
updateDataMethod · 0.65
ColorMethod · 0.65

Implementers 6

GLFramepixelgl/glframe.go
Windowpixelgl/window.go
glPicturepixelgl/glpicture.go
GLTrianglespixelgl/gltriangles.go
Canvaspixelgl/canvas.go

Calls

no outgoing calls

Tested by

no test coverage detected