Interface Rectangle.RectangleMutator

All Superinterfaces:
Dimension.DimensionMutator, HeightAccessor.HeightMutator, Position.PositionMutator, PosXAccessor.PosXMutator, PosYAccessor.PosYMutator, WidthAccessor.WidthMutator
All Known Subinterfaces:
Rectangle.RectangleProperty
Enclosing interface:
Rectangle

public static interface Rectangle.RectangleMutator extends Dimension.DimensionMutator, Position.PositionMutator
Provides a mutator for a rectangle property (dimension and height).
  • Method Details

    • setRectangle

      void setRectangle(int aPositionX, int aPositionY, int aWidth, int aHeight)
      Sets the rectangle.
      Parameters:
      aPositionX - The X position of the rectangle.
      aPositionY - The Y position of the rectangle.
      aWidth - The width of the rectangle.
      aHeight - The height of the rectangle.
    • setRectangle

      void setRectangle(Rectangle aRectangle)
      Sets the rectangle.
      Parameters:
      aRectangle - the new rectangle's metrics to set.