Documentation
¶
Index ¶
- func FWritePlist(w io.Writer, cs map[string]string)
- func MarshalValue(e *xml.Encoder, v interface{}) error
- func WriteContentsPlist(path string, filemap map[string]string) error
- type Array
- type Component
- type Contour
- type Dict
- type DictItem
- type Glyph
- type Outline
- type Plist
- type Point
- type RawDict
- type RawPlistValue
- type Unicode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalValue ¶
Specifically for the _value_ part of a [key value] in a <dict>; or the elements of an <array>.
Types ¶
type Component ¶
type Component struct {
Base string `xml:"base,attr"`
XScale float64 `xml:"xScale,attr"`
XyScale float64 `xml:"xyScale,attr",omitempty`
YxScale float64 `xml:"yxScale,attr",omitempty`
YScale float64 `xml:"yScale,attr"`
XOffset float64 `xml:"xOffset,attr"`
YOffset float64 `xml:"yOffset,attr"`
Identifier string `xml:"identifier,attr,omitempty"`
}
func NewComponentAt ¶
type Dict ¶
type Dict struct {
Item []DictItem
}
func (*Dict) MarshalXML ¶
func (*Dict) UnmarshalXML ¶
type Glyph ¶
type Plist ¶
type Plist struct {
XMLName struct{} `xml:"plist"`
Version string `xml:"version,attr"`
Dict Dict `xml:"dict"`
}
type RawDict ¶
type RawDict struct {
Key []string `xml:"key"`
Value []RawPlistValue `xml:",any"`
}
type RawPlistValue ¶
type RawPlistValue struct {
// contains filtered or unexported fields
}
func (*RawPlistValue) UnmarshalXML ¶
func (v *RawPlistValue) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
Click to show internal directories.
Click to hide internal directories.