swf-go/tag/DefineText.go

21 lines
408 B
Go

package tag
import (
"git.gammaspectra.live/WeebDataHoarder/swf-go/subtypes"
"git.gammaspectra.live/WeebDataHoarder/swf-go/types"
)
type DefineText struct {
_ struct{} `swfFlags:"root"`
CharacterId uint16
Bounds types.RECT
Matrix types.MATRIX
GlyphBits uint8
AdvanceBits uint8
TextRecords subtypes.TEXTRECORDS
}
func (t *DefineText) Code() Code {
return RecordDefineText
}