Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Functions = []resize.InterpolationFunction{ resize.NearestNeighbor, resize.Bicubic, resize.Bilinear, resize.Lanczos2, resize.Lanczos3, resize.MitchellNetravali, }
View Source
var NameMap = map[resize.InterpolationFunction]string{ resize.NearestNeighbor: "Nearest Neighbor", resize.Bicubic: "Bicubic", resize.Bilinear: "Bilinear", resize.Lanczos2: "Lanczos2", resize.Lanczos3: "Lanczos3", resize.MitchellNetravali: "MitchellNetravali", }
Functions ¶
func ItemStylesActive ¶
func ItemStylesActive() (s list.DefaultItemStyles)
func ItemStylesInactive ¶
func ItemStylesInactive() (s list.DefaultItemStyles)
func NewDelegate ¶
func NewDelegate(isActive bool) list.DefaultDelegate
Types ¶
type Model ¶
type Model struct {
Function resize.InterpolationFunction
IsActive bool
ShouldClose bool
// contains filtered or unexported fields
}
func (Model) FunctionName ¶ added in v1.0.0
func (*Model) SetFunctionByName ¶ added in v1.0.0
func (*Model) SetListActive ¶ added in v1.0.0
Click to show internal directories.
Click to hide internal directories.