Documentation
¶
Index ¶
- type Direction
- type Model
- func (m Model) BayerSize() uint
- func (m Model) ClusteredDotMatrix() dither.OrderedDitherMatrix
- func (m Model) ClusteredDotName() string
- func (m Model) DitherMatrixName() string
- func (m Model) DitherMode() dithering.DitherMode
- func (m Model) DitherStrength() float32
- func (m Model) Dithering() (bool, bool, dither.ErrorDiffusionMatrix)
- func (m Model) HelpText() string
- func (m Model) Init() tea.Cmd
- func (m *Model) RefreshStyles()
- func (m *Model) ResetFocus()
- func (m Model) SamplingFunction() resize.InterpolationFunction
- func (m Model) SamplingFunctionName() string
- func (m *Model) SetConfig(samplingName string, doDither, doSerpentine bool, ...)
- func (m Model) Summary() string
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m Model) View() string
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
ShouldClose bool
IsActive bool
ShowDithering bool
// contains filtered or unexported fields
}
func (Model) ClusteredDotMatrix ¶ added in v1.0.0
func (m Model) ClusteredDotMatrix() dither.OrderedDitherMatrix
func (Model) ClusteredDotName ¶ added in v1.0.0
func (Model) DitherMatrixName ¶ added in v1.0.0
func (Model) DitherMode ¶ added in v1.0.0
func (m Model) DitherMode() dithering.DitherMode
func (Model) DitherStrength ¶ added in v1.0.0
func (Model) HelpText ¶ added in v1.0.0
HelpText returns contextual help for the currently focused advanced item.
func (*Model) RefreshStyles ¶ added in v1.0.0
func (m *Model) RefreshStyles()
func (*Model) ResetFocus ¶ added in v1.0.0
func (m *Model) ResetFocus()
func (Model) SamplingFunction ¶
func (m Model) SamplingFunction() resize.InterpolationFunction
func (Model) SamplingFunctionName ¶ added in v1.0.0
Click to show internal directories.
Click to hide internal directories.