Inheritance diagram for pysvg.structure:
This module includes the elements found in http://www.w3.org/TR/SVG/struct.html
(C) 2008, 2009 Kerim Mansour For licensing information please refer to license.txt
Bases: pysvg.core.BaseElement, pysvg.attributes.CoreAttrib, pysvg.attributes.ConditionalAttrib, pysvg.attributes.StyleAttrib, pysvg.attributes.ExternalAttrib, pysvg.attributes.PresentationAttributes_All, pysvg.attributes.GraphicalEventsAttrib
Class representing the clipPath element of an svg doc.
returns all elements contained within the top level element list of this element
returns ALL elements of the complete hirarchy as a flat list
get all atributes of the element
returns the element at a specific position within this svg
returns an element with the specific id and the position of that element within the svg elements array
retrieves all Elements that are of type type @type type: class @param type: type of the element
Return a XML representation of the current element. This function can be used for debugging purposes. It is also used by getXML in SVG
@return: the representation of the current element as an xml string
Transforms characters between xml notation and python notation.
Stores any element in a svg file (including header). Calling this method only makes sense if the root element is an svg elemnt
Used to set all attributes given in a **kwargs parameter. Might throw an Exception if attribute was not found. #TODO: check if we should fix this using “setAttribute”
Method that provides a standard svg header string for a file
Bases: pysvg.structure.g
Class representing the defs element of an svg doc.
returns all elements contained within the top level element list of this element
returns ALL elements of the complete hirarchy as a flat list
get all atributes of the element
returns the element at a specific position within this svg
returns an element with the specific id and the position of that element within the svg elements array
retrieves all Elements that are of type type @type type: class @param type: type of the element
Return a XML representation of the current element. This function can be used for debugging purposes. It is also used by getXML in SVG
@return: the representation of the current element as an xml string
Transforms characters between xml notation and python notation.
Stores any element in a svg file (including header). Calling this method only makes sense if the root element is an svg elemnt
Used to set all attributes given in a **kwargs parameter. Might throw an Exception if attribute was not found. #TODO: check if we should fix this using “setAttribute”
Method that provides a standard svg header string for a file
Bases: pysvg.core.BaseElement, pysvg.attributes.CoreAttrib, pysvg.attributes.StyleAttrib
Class representing the desc element of an svg doc.
returns all elements contained within the top level element list of this element
returns ALL elements of the complete hirarchy as a flat list
get all atributes of the element
returns the element at a specific position within this svg
returns an element with the specific id and the position of that element within the svg elements array
retrieves all Elements that are of type type @type type: class @param type: type of the element
Return a XML representation of the current element. This function can be used for debugging purposes. It is also used by getXML in SVG
@return: the representation of the current element as an xml string
Transforms characters between xml notation and python notation.
Stores any element in a svg file (including header). Calling this method only makes sense if the root element is an svg elemnt
Used to set all attributes given in a **kwargs parameter. Might throw an Exception if attribute was not found. #TODO: check if we should fix this using “setAttribute”
Method that provides a standard svg header string for a file
Bases: pysvg.core.BaseElement, pysvg.attributes.CoreAttrib, pysvg.attributes.ConditionalAttrib, pysvg.attributes.StyleAttrib, pysvg.attributes.ExternalAttrib, pysvg.attributes.PresentationAttributes_All, pysvg.attributes.GraphicalEventsAttrib
Class representing the g element of an svg doc.
returns all elements contained within the top level element list of this element
returns ALL elements of the complete hirarchy as a flat list
get all atributes of the element
returns the element at a specific position within this svg
returns an element with the specific id and the position of that element within the svg elements array
retrieves all Elements that are of type type @type type: class @param type: type of the element
Return a XML representation of the current element. This function can be used for debugging purposes. It is also used by getXML in SVG
@return: the representation of the current element as an xml string
Transforms characters between xml notation and python notation.
Stores any element in a svg file (including header). Calling this method only makes sense if the root element is an svg elemnt
Used to set all attributes given in a **kwargs parameter. Might throw an Exception if attribute was not found. #TODO: check if we should fix this using “setAttribute”
Method that provides a standard svg header string for a file
Bases: pysvg.core.BaseElement, pysvg.attributes.CoreAttrib, pysvg.attributes.ConditionalAttrib, pysvg.attributes.StyleAttrib, pysvg.attributes.ViewportAttrib, pysvg.attributes.PaintAttrib, pysvg.attributes.OpacityAttrib, pysvg.attributes.GraphicsAttrib, pysvg.attributes.ClipAttrib, pysvg.attributes.MaskAttrib, pysvg.attributes.FilterAttrib, pysvg.attributes.GraphicalEventsAttrib, pysvg.attributes.CursorAttrib, pysvg.attributes.XLinkAttrib, pysvg.attributes.ExternalAttrib, pysvg.core.PointAttrib, pysvg.core.DimensionAttrib
Class representing the image element of an svg doc.
returns all elements contained within the top level element list of this element
returns ALL elements of the complete hirarchy as a flat list
get all atributes of the element
returns the element at a specific position within this svg
returns an element with the specific id and the position of that element within the svg elements array
retrieves all Elements that are of type type @type type: class @param type: type of the element
Return a XML representation of the current element. This function can be used for debugging purposes. It is also used by getXML in SVG
@return: the representation of the current element as an xml string
Transforms characters between xml notation and python notation.
Stores any element in a svg file (including header). Calling this method only makes sense if the root element is an svg elemnt
Used to set all attributes given in a **kwargs parameter. Might throw an Exception if attribute was not found. #TODO: check if we should fix this using “setAttribute”
Method that provides a standard svg header string for a file
Bases: pysvg.core.BaseElement, pysvg.attributes.CoreAttrib
Class representing the metadata element of an svg doc.
returns all elements contained within the top level element list of this element
returns ALL elements of the complete hirarchy as a flat list
get all atributes of the element
returns the element at a specific position within this svg
returns an element with the specific id and the position of that element within the svg elements array
retrieves all Elements that are of type type @type type: class @param type: type of the element
Return a XML representation of the current element. This function can be used for debugging purposes. It is also used by getXML in SVG
@return: the representation of the current element as an xml string
Transforms characters between xml notation and python notation.
Stores any element in a svg file (including header). Calling this method only makes sense if the root element is an svg elemnt
Used to set all attributes given in a **kwargs parameter. Might throw an Exception if attribute was not found. #TODO: check if we should fix this using “setAttribute”
Method that provides a standard svg header string for a file
Bases: pysvg.core.BaseElement, pysvg.attributes.CoreAttrib, pysvg.attributes.StyleAttrib, pysvg.attributes.ConditionalAttrib, pysvg.core.PointAttrib, pysvg.core.DimensionAttrib, pysvg.attributes.XLinkAttrib, pysvg.attributes.PresentationAttributes_All, pysvg.attributes.GraphicalEventsAttrib, pysvg.attributes.DocumentEventsAttrib
Class representing the svg element of an svg doc.
returns all elements contained within the top level element list of this element
returns ALL elements of the complete hirarchy as a flat list
get all atributes of the element
returns the element at a specific position within this svg
returns an element with the specific id and the position of that element within the svg elements array
retrieves all Elements that are of type type @type type: class @param type: type of the element
Return a XML representation of the current element. This function can be used for debugging purposes. It is also used by getXML in SVG
@return: the representation of the current element as an xml string
Transforms characters between xml notation and python notation.
Stores any element in a svg file (including header). Calling this method only makes sense if the root element is an svg elemnt
Used to set all attributes given in a **kwargs parameter. Might throw an Exception if attribute was not found. #TODO: check if we should fix this using “setAttribute”
Method that provides a standard svg header string for a file
Bases: pysvg.core.BaseElement, pysvg.attributes.CoreAttrib, pysvg.attributes.ConditionalAttrib, pysvg.attributes.StyleAttrib, pysvg.attributes.PresentationAttributes_All, pysvg.attributes.GraphicalEventsAttrib, pysvg.attributes.ExternalAttrib
Class representing the switch element of an svg doc.
returns all elements contained within the top level element list of this element
returns ALL elements of the complete hirarchy as a flat list
get all atributes of the element
returns the element at a specific position within this svg
returns an element with the specific id and the position of that element within the svg elements array
retrieves all Elements that are of type type @type type: class @param type: type of the element
Return a XML representation of the current element. This function can be used for debugging purposes. It is also used by getXML in SVG
@return: the representation of the current element as an xml string
Transforms characters between xml notation and python notation.
Stores any element in a svg file (including header). Calling this method only makes sense if the root element is an svg elemnt
Used to set all attributes given in a **kwargs parameter. Might throw an Exception if attribute was not found. #TODO: check if we should fix this using “setAttribute”
Method that provides a standard svg header string for a file
Bases: pysvg.core.BaseElement, pysvg.attributes.CoreAttrib, pysvg.attributes.StyleAttrib, pysvg.attributes.ExternalAttrib, pysvg.attributes.PresentationAttributes_All, pysvg.attributes.GraphicalEventsAttrib
Class representing the symbol element of an svg doc.
returns all elements contained within the top level element list of this element
returns ALL elements of the complete hirarchy as a flat list
get all atributes of the element
returns the element at a specific position within this svg
returns an element with the specific id and the position of that element within the svg elements array
retrieves all Elements that are of type type @type type: class @param type: type of the element
Return a XML representation of the current element. This function can be used for debugging purposes. It is also used by getXML in SVG
@return: the representation of the current element as an xml string
Transforms characters between xml notation and python notation.
Stores any element in a svg file (including header). Calling this method only makes sense if the root element is an svg elemnt
Used to set all attributes given in a **kwargs parameter. Might throw an Exception if attribute was not found. #TODO: check if we should fix this using “setAttribute”
Method that provides a standard svg header string for a file
Bases: pysvg.structure.desc
Class representing the title element of an svg doc.
returns all elements contained within the top level element list of this element
returns ALL elements of the complete hirarchy as a flat list
get all atributes of the element
returns the element at a specific position within this svg
returns an element with the specific id and the position of that element within the svg elements array
retrieves all Elements that are of type type @type type: class @param type: type of the element
Return a XML representation of the current element. This function can be used for debugging purposes. It is also used by getXML in SVG
@return: the representation of the current element as an xml string
Transforms characters between xml notation and python notation.
Stores any element in a svg file (including header). Calling this method only makes sense if the root element is an svg elemnt
Used to set all attributes given in a **kwargs parameter. Might throw an Exception if attribute was not found. #TODO: check if we should fix this using “setAttribute”
Method that provides a standard svg header string for a file
Bases: pysvg.core.BaseElement, pysvg.attributes.CoreAttrib, pysvg.attributes.StyleAttrib, pysvg.attributes.ConditionalAttrib, pysvg.core.PointAttrib, pysvg.core.DimensionAttrib, pysvg.attributes.XLinkAttrib, pysvg.attributes.PresentationAttributes_All, pysvg.attributes.GraphicalEventsAttrib
Class representing the use element of an svg doc.
returns all elements contained within the top level element list of this element
returns ALL elements of the complete hirarchy as a flat list
get all atributes of the element
returns the element at a specific position within this svg
returns an element with the specific id and the position of that element within the svg elements array
retrieves all Elements that are of type type @type type: class @param type: type of the element
Return a XML representation of the current element. This function can be used for debugging purposes. It is also used by getXML in SVG
@return: the representation of the current element as an xml string
Transforms characters between xml notation and python notation.
Stores any element in a svg file (including header). Calling this method only makes sense if the root element is an svg elemnt
Used to set all attributes given in a **kwargs parameter. Might throw an Exception if attribute was not found. #TODO: check if we should fix this using “setAttribute”
Method that provides a standard svg header string for a file