Class Size
java.lang.Object
com.orchestranetworks.addon.dama.ext.bean.Size
- Direct Known Subclasses:
ImageSize
Defines the dimensions of the digital asset, if it is image.
- Since:
- 1.6.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Size
public Size(int width, int height) Instantiates the newSize
.- Parameters:
width
- the width in pixelsheight
- the height in pixels
-
Size
public Size()Instantiates the newSize
.
-
-
Method Details
-
getWidth
public int getWidth()Gets the width in pixels. -
setWidth
public void setWidth(int width) Sets the width in pixels. -
getHeight
public int getHeight()Gets the height in pixels. -
setHeight
public void setHeight(int height) Sets the height in pixels.
-