Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BlendModeNames = map[string]BlendMode{ "Alpha Over": BlendModeAlphaOver, "Multiply": BlendModeMultiply, }
Functions ¶
This section is empty.
Types ¶
type Importer ¶
type Importer interface {
MakeUI(win *ui.Window, recalcFunc func(index int), index int) (ui.Control, error)
GetFrame(time int) (Frame, error)
Cleanup() error
Length() (int, error) // -1 for infinite
Name() string
}
func NewPNGImporter ¶
func NewPNGImporter() Importer
type PNGImporter ¶
type PNGImporter struct {
Path string
BlendMode BlendMode
// contains filtered or unexported fields
}
func (*PNGImporter) Cleanup ¶
func (i *PNGImporter) Cleanup() error
func (*PNGImporter) Length ¶
func (i *PNGImporter) Length() (int, error)
func (*PNGImporter) Name ¶
func (i *PNGImporter) Name() string
Click to show internal directories.
Click to hide internal directories.