package
Version:
v0.0.0-...-c13b88d
Opens a new window with list of versions in this module.
Published: Feb 1, 2022
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
type Area struct {
Href string `json:"href"`
Alt string `json:"alt,omitempty"`
Min Point `json:"min"`
Max Point `json:"max"`
}
type Content struct {
Image string `json:"image"`
Areas []Area `json:"areas"`
Size Point `json:"size"`
}
type Point struct {
X int `json:"x"`
Y int `json:"y"`
}
type XML struct {
Image struct {
Href string `xml:"href,attr"`
} `xml:"image"`
Area []XMLArea `xml:"area"`
}
type XMLArea struct {
Shape string `xml:"shape"`
Coords string `xml:"coords"`
XRef struct {
Href string `xml:"href,attr"`
Alt string `xml:",chardata"`
} `xml:"xref"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.