Skip to content

Commit

Permalink
javadoc improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
ISO53 committed Jul 14, 2024
1 parent bb540bf commit 880abdc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/org/iso53/InteractiveImagePanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ private BufferedImage scaleImagePretty(BufferedImage source, double ratio) {
* @param ratio the scaling ratio. A ratio greater than 1 enlarges the image, less than 1 shrinks the image.
* @return a new BufferedImage that is a scaled version of the original image or null if an unsupported scaling
* strategy is specified.
* @see Scale
*/
private BufferedImage scaleImage(BufferedImage source, double ratio) {
switch (scale) {
Expand Down Expand Up @@ -326,6 +327,8 @@ public void setImageFit(ImageFit imageFit) {
* Sets the scaling strategy for the image.
*
* @param scale the scaling strategy to use, represented by the Scale enum.
*
* @see Scale
*/
public void setScale(Scale scale) {
this.scale = scale;
Expand Down

0 comments on commit 880abdc

Please sign in to comment.