public class FullZooming extends Object implements ZoomingStrategy
Modifier and Type | Field and Description |
---|---|
static FullZooming |
NON_RESPECTING_ASPECT_RATIO_INSTANCE |
static FullZooming |
RESPECTING_ASPECT_RATIO_INSTANCE |
Modifier and Type | Method and Description |
---|---|
Dimension |
calculateDimension(int iconWidth,
int iconHeight,
int innerAreaWidth,
int innerAreaHeight) |
boolean |
isRespectingAspectRatio()
Getter for property respectingAspectRatio.
|
public static final FullZooming RESPECTING_ASPECT_RATIO_INSTANCE
public static final FullZooming NON_RESPECTING_ASPECT_RATIO_INSTANCE
public Dimension calculateDimension(int iconWidth, int iconHeight, int innerAreaWidth, int innerAreaHeight)
calculateDimension
in interface ZoomingStrategy
public boolean isRespectingAspectRatio()
Copyright © 2002–2016 SoftSmithy. All rights reserved.