processorType

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CircleProcessor

type CircleProcessor struct {
	*ProcessorStruct
	// contains filtered or unexported fields
}

func (*CircleProcessor) Processing

func (cp *CircleProcessor) Processing(_ *dto.Block, _ *dto.FrameData) (output *image.RGBA, err error)

func (*CircleProcessor) TransformOptions

func (cp *CircleProcessor) TransformOptions(options *map[string]interface{}) ProcessorInterface

type ImageProcessor

type ImageProcessor struct {
	*ProcessorStruct
	// contains filtered or unexported fields
}

func (*ImageProcessor) Processing

func (ip *ImageProcessor) Processing(_ *dto.Block, _ *dto.FrameData) (output *image.RGBA, err error)

func (*ImageProcessor) TransformOptions

func (ip *ImageProcessor) TransformOptions(options *map[string]interface{}) ProcessorInterface

type ProcessorInterface

type ProcessorInterface interface {
	Processing(block *dto.Block, frameData *dto.FrameData) (output *image.RGBA, err error)
	TransformOptions(options *map[string]interface{}) ProcessorInterface
}

type ProcessorStruct

type ProcessorStruct struct {
	DrawBuilder *draw2dExtend.DrawBuilder
}

type RectangleProcessor

type RectangleProcessor struct {
	*ProcessorStruct
	// contains filtered or unexported fields
}

func (*RectangleProcessor) Processing

func (rp *RectangleProcessor) Processing(_ *dto.Block, _ *dto.FrameData) (output *image.RGBA, err error)

func (*RectangleProcessor) TransformOptions

func (rp *RectangleProcessor) TransformOptions(options *map[string]interface{}) ProcessorInterface

type TextProcessor

type TextProcessor struct {
	*ProcessorStruct
	// contains filtered or unexported fields
}

func (*TextProcessor) Processing

func (tp *TextProcessor) Processing(_ *dto.Block, _ *dto.FrameData) (output *image.RGBA, err error)

func (*TextProcessor) TransformOptions

func (tp *TextProcessor) TransformOptions(options *map[string]interface{}) ProcessorInterface

type TimerProcessor

type TimerProcessor struct {
	*TextProcessor
	// contains filtered or unexported fields
}

func (*TimerProcessor) Processing

func (tp *TimerProcessor) Processing(block *dto.Block, frameData *dto.FrameData) (output *image.RGBA, err error)

func (*TimerProcessor) TransformOptions

func (tp *TimerProcessor) TransformOptions(options *map[string]interface{}) ProcessorInterface

type TriangleProcessor

type TriangleProcessor struct {
	*ProcessorStruct
	// contains filtered or unexported fields
}

func (*TriangleProcessor) Processing

func (tp *TriangleProcessor) Processing(_ *dto.Block, _ *dto.FrameData) (output *image.RGBA, err error)

func (*TriangleProcessor) TransformOptions

func (tp *TriangleProcessor) TransformOptions(options *map[string]interface{}) ProcessorInterface

Jump to

Keyboard shortcuts

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