Interface Rect

All Superinterfaces:
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

    Modifier and Type
    Method
    Description
    double
    Gets the height (vertical dimension) of this rect.
    Gets the transform of the rectangle
    double
    Gets the width (horizontal dimension) of this rect.
    double
    Gets the X origin (leftmost corner) of this rect.
    double
    Gets the Y origin (topmost corner) of this rect.
    void
    setHeight(double height)
    Sets the height (vertical dimension) of this rect.
    void
    setTransform(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.

    Methods inherited from interface com.priint.pubserver.metadata.base.Shape

    getFill, getOpacity, getStroke, getStrokeWidth, setFill, setOpacity, setStroke, setStrokeWidth
  • Method Details

    • 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(String transform)

      Sets the transform of the rectangle

      Parameters:
      transform - of the rectangle
    • getTransform

      String getTransform()

      Gets the transform of the rectangle

      Returns:
      the transform