Class RectImpl

java.lang.Object
com.priint.pubserver.metadata.xml.base.ShapeImpl
com.priint.pubserver.metadata.xml.base.RectImpl
All Implemented Interfaces:
Rect, Shape, Serializable

public class RectImpl extends ShapeImpl implements Rect
See Also:
  • Constructor Details

    • RectImpl

      public RectImpl()
  • Method Details

    • getX

      public double getX()
      Description copied from interface: Rect

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

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

      Specified by:
      getX in interface Rect
      Returns:
      the X origin of this rect
    • setX

      public void setX(double x)
      Description copied from interface: Rect

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

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

      Specified by:
      setX in interface Rect
      Parameters:
      x - the X origin of this rect
    • getY

      public double getY()
      Description copied from interface: Rect

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

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

      Specified by:
      getY in interface Rect
      Returns:
      the Y origin (topmost corner) of this rect
    • setY

      public void setY(double y)
      Description copied from interface: Rect

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

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

      Specified by:
      setY in interface Rect
      Parameters:
      y - the Y origin (topmost corner) of this rect.
    • getWidth

      public double getWidth()
      Description copied from interface: Rect

      Gets the width (horizontal dimension) of this rect.

      Gets the width (horizontal dimension) of this rect.

      Specified by:
      getWidth in interface Rect
      Returns:
      the width of this rect
    • setWidth

      public void setWidth(double width)
      Description copied from interface: Rect

      Sets the width (horizontal dimension) of this rect.

      Sets the width (horizontal dimension) of this rect.

      Specified by:
      setWidth in interface Rect
      Parameters:
      width - the width of this rect
    • getHeight

      public double getHeight()
      Description copied from interface: Rect

      Gets the height (vertical dimension) of this rect.

      Gets the height (vertical dimension) of this rect.

      Specified by:
      getHeight in interface Rect
      Returns:
      the height of this rect
    • setHeight

      public void setHeight(double height)
      Description copied from interface: Rect

      Sets the height (vertical dimension) of this rect.

      Sets the height (vertical dimension) of this rect.

      Specified by:
      setHeight in interface Rect
      Parameters:
      height - the height of this rect
    • getTransform

      public String getTransform()
      Description copied from interface: Rect

      Gets the transform of the rectangle

      Specified by:
      getTransform in interface Rect
      Returns:
      the transform
    • setTransform

      public void setTransform(String transform)
      Description copied from interface: Rect

      Sets the transform of the rectangle

      Specified by:
      setTransform in interface Rect
      Parameters:
      transform - the transform to set