service

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 1, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FrameCreatorService

type FrameCreatorService struct {
	// contains filtered or unexported fields
}

func NewFrameCreatorService

func NewFrameCreatorService(
	framesPerSecond int,
	processorHandlerBus *processor.Handler,
	effectHandlerBus *WonderEffects.Handler,
	glitchService *wonderGlitchService.GlitchService,
) *FrameCreatorService

func (*FrameCreatorService) CreateFrameSet

func (fms *FrameCreatorService) CreateFrameSet(
	blocks *[]dto.Block,
	width int, height int,
	duration float32,
) []draw.Image

func (*FrameCreatorService) WithBackgroundColor

func (fms *FrameCreatorService) WithBackgroundColor(color string) *FrameCreatorService

func (*FrameCreatorService) WithBackgroundImage

func (fms *FrameCreatorService) WithBackgroundImage(path string) *FrameCreatorService

type FrameSaveFactory

type FrameSaveFactory struct {
	// contains filtered or unexported fields
}

func NewFrameSaverFactory

func NewFrameSaverFactory(saveStrategies []dto.FrameSetSaveStrategy) *FrameSaveFactory

func (*FrameSaveFactory) SaveType

func (f *FrameSaveFactory) SaveType(saveType string) (saver frameSetSaver.SaverInterface, ok bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL