Documentation
¶
Index ¶
- func ColorAsFloat32RGB(clr color.Color) float32
- func Shader() *ebiten.Shader
- type Stack
- func (s *Stack) Effect(index int) *TextEffect
- func (s *Stack) Effects() []*TextEffect
- func (s *Stack) Pop(index int)
- func (s *Stack) PushBg(index int, clr color.Color)
- func (s *Stack) PushFg(index int, clr color.Color)
- func (s *Stack) PushMask(index int, mask TextMask)
- func (s *Stack) Reset()
- func (s *Stack) ResetIndex()
- type TextEffect
- type TextMask
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ColorAsFloat32RGB ¶
Types ¶
type Stack ¶
type Stack struct {
// contains filtered or unexported fields
}
func NewEffectStack ¶
func NewEffectStack() *Stack
func (*Stack) Effect ¶
func (s *Stack) Effect(index int) *TextEffect
func (*Stack) Effects ¶
func (s *Stack) Effects() []*TextEffect
func (*Stack) ResetIndex ¶
func (s *Stack) ResetIndex()
type TextEffect ¶
Click to show internal directories.
Click to hide internal directories.