Documentation ¶
Index ¶
Constants ¶
View Source
const ( ShapeMaskCircle string = "circle" ShapeMaskRoundrect string = "rounded" ShapeDiamond string = "diamond" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigProvider ¶
type ConfigProvider struct { ConfigFile string ConfigData configData }
func (*ConfigProvider) Initialize ¶
func (cp *ConfigProvider) Initialize(configFile string) error
type IconConfig ¶
type IconSet ¶
type IconSet struct { Prefix string Icons []IconConfig RemoveAlpha bool }
type MagickCropper ¶
type MagickCropper struct {
*imagick.MagickWand
}
func (MagickCropper) GetAspect ¶
func (mc MagickCropper) GetAspect() float32
func (MagickCropper) ShapeImage ¶
func (mc MagickCropper) ShapeImage(t string, param float64) error
func (MagickCropper) SmartCrop ¶
func (mc MagickCropper) SmartCrop(w, h uint) error
Click to show internal directories.
Click to hide internal directories.