Documentation ¶
Index ¶
Constants ¶
View Source
const ( Lv = FieldName("lv") Title = FieldName("title") Difficulty = FieldName("difficulty") Perfect = FieldName("perfect") Great = FieldName("great") Nice = FieldName("nice") Bad = FieldName("bad") Miss = FieldName("miss") Combo = FieldName("combo") Score = FieldName("score") FieldTypeString = FieldType("string") FieldTypeDigits = FieldType("digits") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Coordinate ¶
type Coordinate struct { StartX int `json:"startx"` StartY int `json:"starty"` EndX int `json:"endx"` EndY int `json:"endy"` }
func (Coordinate) Rect ¶
func (c Coordinate) Rect() image.Rectangle
type Field ¶
type Field struct { Name FieldName `json:"name"` Coordinate Coordinate `json:"coordinate"` }
type Result ¶
type Result struct { SourceImageFile *os.File Fields []*ResultField }
func (*Result) AddResultField ¶
func (r *Result) AddResultField(field *ResultField)
type ResultField ¶
func NewResultFieldByField ¶
func NewResultFieldByField(field Field) *ResultField
func (*ResultField) NormalizedText ¶
func (r *ResultField) NormalizedText() (string, error)
正規化した文字列を返す
Click to show internal directories.
Click to hide internal directories.