Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Asset ¶
type Asset struct { ID AssetID `json:"id"` Name string `json:"name"` Path string `json:"path"` BoundingBoxes []*BoundingBox `json:"boundingBoxes"` }
func NewAssetFromJson ¶
type BoundingBox ¶
type BoundingBox struct { ID BoundingBoxID `json:"id"` Tag *Tag `json:"tag"` X int `json:"x"` Y int `json:"y"` Width int `json:"width"` Height int `json:"height"` }
func (*BoundingBox) Migrate ¶
func (b *BoundingBox) Migrate() (*model.BoundingBox, bool)
type BoundingBoxID ¶
type BoundingBoxID uint64
Click to show internal directories.
Click to hide internal directories.