- 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 Summary
Modifier and TypeMethodDescriptionvoidsetDimension(int aWidth, int aHeight) Sets the dimension.voidsetDimension(Dimension aDimension) Sets the dimension.Methods inherited from interface org.refcodes.graphical.HeightAccessor.HeightMutator
setHeightMethods inherited from interface org.refcodes.graphical.WidthAccessor.WidthMutator
setWidth
-
Method Details
-
setDimension
void setDimension(int aWidth, int aHeight) Sets the dimension.- Parameters:
aWidth- the widthaHeight- the height
-
setDimension
Sets the dimension.- Parameters:
aDimension- the new dimension
-