Documentation ¶
Overview ¶
Package d2fontglyph represents a single font glyph
Index ¶
- type FontGlyph
- func (fg *FontGlyph) FrameIndex() int
- func (fg *FontGlyph) Height() int
- func (fg *FontGlyph) SetFrameIndex(idx int)
- func (fg *FontGlyph) SetSize(w, h int)
- func (fg *FontGlyph) Size() (w, h int)
- func (fg *FontGlyph) Unknown1() []byte
- func (fg *FontGlyph) Unknown2() []byte
- func (fg *FontGlyph) Unknown3() []byte
- func (fg *FontGlyph) Width() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FontGlyph ¶
type FontGlyph struct {
// contains filtered or unexported fields
}
FontGlyph represents a single font glyph
func (*FontGlyph) FrameIndex ¶
FrameIndex returns glyph's frame
func (*FontGlyph) SetFrameIndex ¶
SetFrameIndex sets frame index to idx
Click to show internal directories.
Click to hide internal directories.