Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Element ¶
Element is a representation of an SVG element.
func DecodeFirst ¶
DecodeFirst creates the first element from the decoder.
func NewElement ¶
func NewElement(token xml.StartElement) *Element
NewElement creates element from decoder token.
func Parse ¶
Parse creates an Element instance from an SVG input.
func (*Element) Decode ¶
Decode decodes the child elements of element.
func (*Element) FindAll ¶
FindAll finds all children with the given name.
type ValidationError ¶
type ValidationError struct {
// contains filtered or unexported fields
}
ValidationError contains errors which have occured when parsing svg input.
func (ValidationError) Error ¶
func (err ValidationError) Error() string
Click to show internal directories.
Click to hide internal directories.