Class ImageDimensions
- java.lang.Object
-
- software.amazon.spapi.models.apluscontent.v2020_11_01.ImageDimensions
-
public class ImageDimensions extends java.lang.Object
The dimensions that extend from the top left corner of the image (this applies to cropped and uncropped images). `ImageDimensions` units must be in pixels.
-
-
Constructor Summary
Constructors Constructor Description ImageDimensions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
IntegerWithUnits
getHeight()
Get heightIntegerWithUnits
getWidth()
Get widthint
hashCode()
ImageDimensions
height(IntegerWithUnits height)
void
setHeight(IntegerWithUnits height)
void
setWidth(IntegerWithUnits width)
java.lang.String
toString()
ImageDimensions
width(IntegerWithUnits width)
-
-
-
Method Detail
-
width
public ImageDimensions width(IntegerWithUnits width)
-
getWidth
public IntegerWithUnits getWidth()
Get width- Returns:
- width
-
setWidth
public void setWidth(IntegerWithUnits width)
-
height
public ImageDimensions height(IntegerWithUnits height)
-
getHeight
public IntegerWithUnits getHeight()
Get height- Returns:
- height
-
setHeight
public void setHeight(IntegerWithUnits height)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-