Interface Rect

  • All Superinterfaces:
    java.io.Serializable, Shape
    All Known Implementing Classes:
    RectImpl

    public interface Rect
    extends Shape

    Interface for the rect xml type.

    Interface for the rect xml type.
    As obvious, this interface describes a rectangle, usually of an CometGroup, element or placeholder.
    Implemented in RectImpl and referred in several Java / xml types.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getHeight()
      Gets the height (vertical dimension) of this rect.
      java.lang.String getTransform()
      Gets the transform of the rectangle
      double getWidth()
      Gets the width (horizontal dimension) of this rect.
      double getX()
      Gets the X origin (leftmost corner) of this rect.
      double getY()
      Gets the Y origin (topmost corner) of this rect.
      void setHeight​(double height)
      Sets the height (vertical dimension) of this rect.
      void setTransform​(java.lang.String transform)
      Sets the transform of the rectangle
      void setWidth​(double width)
      Sets the width (horizontal dimension) of this rect.
      void setX​(double x)
      Sets the X origin (leftmost corner) of this rect.
      void setY​(double y)
      Sets the Y origin (topmost corner) of this rect.
    • Method Detail

      • getX

        double getX()

        Gets the X origin (leftmost corner) of this rect.

        Gets the X origin (leftmost corner) of this rect.

        Returns:
        the X origin of this rect
      • setX

        void setX​(double x)

        Sets the X origin (leftmost corner) of this rect.

        Sets the X origin (leftmost corner) of this rect.

        Parameters:
        x - the X origin of this rect
      • getY

        double getY()

        Gets the Y origin (topmost corner) of this rect.

        Gets the Y origin (topmost corner) of this rect.

        Returns:
        the Y origin (topmost corner) of this rect
      • setY

        void setY​(double y)

        Sets the Y origin (topmost corner) of this rect.

        Sets the Y origin (topmost corner) of this rect.

        Parameters:
        y - the Y origin (topmost corner) of this rect.
      • getWidth

        double getWidth()

        Gets the width (horizontal dimension) of this rect.

        Gets the width (horizontal dimension) of this rect.

        Returns:
        the width of this rect
      • setWidth

        void setWidth​(double width)

        Sets the width (horizontal dimension) of this rect.

        Sets the width (horizontal dimension) of this rect.

        Parameters:
        width - the width of this rect
      • getHeight

        double getHeight()

        Gets the height (vertical dimension) of this rect.

        Gets the height (vertical dimension) of this rect.

        Returns:
        the height of this rect
      • setHeight

        void setHeight​(double height)

        Sets the height (vertical dimension) of this rect.

        Sets the height (vertical dimension) of this rect.

        Parameters:
        height - the height of this rect
      • setTransform

        void setTransform​(java.lang.String transform)

        Sets the transform of the rectangle

        Parameters:
        transform - of the rectangle
      • getTransform

        java.lang.String getTransform()

        Gets the transform of the rectangle

        Returns:
        the transform