Interface SVGUse

All Superinterfaces:
AllowsConditionalProcessingAttributes, AllowsGraphicalEventAttributes, AllowsPresentationAttributes, AllowsXLinkAttributes, Element, SVGElement
All Known Implementing Classes:
SVGElementAdapter, SVGGenericElement, SVGUseImpl

The definition of the SVG element <use>.

A <use> element is useless without the attribute href set; therefore it is required already on creation and will not appear in this interface.
Author:
Thomas Thrien (thomas.thrien@tquadrat.org)
Version:
$Id: SVGUse.java 1074 2023-10-02 12:05:06Z tquadrat $
Since:
0.0.5
See Also:
UML Diagram
UML Diagram for "org.tquadrat.foundation.svg.SVGUse"

UML Diagram for "org.tquadrat.foundation.svg.SVGUse"

UML Diagram for "org.tquadrat.foundation.svg.SVGUse"
  • Method Details

    • setHeight

      void setHeight(SVGNumber value)
      Sets the height of the cloned element.
      Parameters:
      value - The type; if null the attribute will be removed.
    • setWidth

      void setWidth(SVGNumber value)
      Sets the width of the cloned element.
      Parameters:
      value - The type; if null the attribute will be removed.
    • setX

      void setX(SVGNumber value)
      Sets the x coordinate for the top left corner of the cloned element.
      Parameters:
      value - The type; if null the attribute will be removed.
    • setY

      void setY(SVGNumber value)
      Sets the y coordinate for the top left corner of the cloned element.
      Parameters:
      value - The type; if null the attribute will be removed.