Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InvertFactory ¶
type InvertFactory struct{}
InvertFactory creates Invert instances.
func (InvertFactory) Name ¶
func (ff InvertFactory) Name() string
Name returns the name of the filter, which is also the directive used in the image filter block.
func (InvertFactory) New ¶
func (ff InvertFactory) New(args ...string) (imagefilter.Filter, error)
New initialises and returns a configured Grayscale instance.
Syntax:
invert
no parameters.
func (InvertFactory) Unmarshal ¶
func (ff InvertFactory) Unmarshal(data []byte) (imagefilter.Filter, error)
Unmarshal decodes JSON data and returns a Invert instance.
Click to show internal directories.
Click to hide internal directories.