public interface Resizable
The Resizable interface represents an object that can be resized.
-
Method Summary
Modifier and TypeMethodDescriptionvoidresizeHeight(double factor) Resizes the object's height by the specified factor.voidresizeWidth(double factor) Resizes the object's width by the specified factor.
-
Method Details
-
resizeWidth
void resizeWidth(double factor) Resizes the object's width by the specified factor.- Parameters:
factor- The factor by which to resize the width.
-
resizeHeight
void resizeHeight(double factor) Resizes the object's height by the specified factor.- Parameters:
factor- The factor by which to resize the height.
-