Interface Dimension.DimensionMutator

All Superinterfaces:
HeightAccessor.HeightMutator, WidthAccessor.WidthMutator
All Known Subinterfaces:
Dimension.DimensionProperty, PixmapImageBuilder<PX>, Rectangle.RectangleMutator, Rectangle.RectangleProperty
All Known Implementing Classes:
RgbPixmapImageBuilder
Enclosing interface:
Dimension

public static interface Dimension.DimensionMutator extends WidthAccessor.WidthMutator, HeightAccessor.HeightMutator
Provides a mutator for a dimension property (width and height).
  • Method Details

    • setDimension

      void setDimension(int aWidth, int aHeight)
      Sets the dimension.
      Parameters:
      aWidth - the width
      aHeight - the height
    • setDimension

      void setDimension(Dimension aDimension)
      Sets the dimension.
      Parameters:
      aDimension - the new dimension