Interface SVGRect

All Known Implementing Classes:
SVGRectImpl

public interface SVGRect

SVGRect interface.

  • Method Summary

    Modifier and Type
    Method
    Description
    float
    getHeight.
    float
    getWidth.
    float
    getX.
    float
    getY.
    void
    setHeight(float height)
    setHeight.
    void
    setWidth(float width)
    setWidth.
    void
    setX(float x)
    setX.
    void
    setY(float y)
    setY.
  • Method Details

    • getX

      float getX()

      getX.

      Returns:
      a float.
    • setX

      void setX(float x)

      setX.

      Parameters:
      x - a float.
      Throws:
      DOMException - if any.
    • getY

      float getY()

      getY.

      Returns:
      a float.
    • setY

      void setY(float y)

      setY.

      Parameters:
      y - a float.
      Throws:
      DOMException - if any.
    • getWidth

      float getWidth()

      getWidth.

      Returns:
      a float.
    • setWidth

      void setWidth(float width)

      setWidth.

      Parameters:
      width - a float.
      Throws:
      DOMException - if any.
    • getHeight

      float getHeight()

      getHeight.

      Returns:
      a float.
    • setHeight

      void setHeight(float height)

      setHeight.

      Parameters:
      height - a float.
      Throws:
      DOMException - if any.