java.lang.Object
com.orchestranetworks.addon.dama.ext.bean.Size
Direct Known Subclasses:
ImageSize

public class Size extends Object
Defines the dimensions of the digital asset, if it is image.
Since:
1.6.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiates the new Size .
    Size(int width, int height)
    Instantiates the new Size.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the height in pixels.
    int
    Gets the width in pixels.
    void
    setHeight(int height)
    Sets the height in pixels.
    void
    setWidth(int width)
    Sets the width in pixels.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Size

      public Size(int width, int height)
      Instantiates the new Size.
      Parameters:
      width - the width in pixels
      height - the height in pixels
    • Size

      public Size()
      Instantiates the new Size .
  • 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.