Class ImageDimensions

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.visual_recognition.v4.model.ImageDimensions
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class ImageDimensions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Height and width of an image.
  • Constructor Summary

    Constructors
    Constructor Description
    ImageDimensions()  
  • Method Summary

    Modifier and Type Method Description
    Long getHeight()
    Gets the height.
    Long getWidth()
    Gets the width.

    Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ImageDimensions

      public ImageDimensions()
  • Method Details

    • getHeight

      public Long getHeight()
      Gets the height.

      Height in pixels of the image.

      Returns:
      the height
    • getWidth

      public Long getWidth()
      Gets the width.

      Width in pixels of the image.

      Returns:
      the width