com.supermap.videomap

Class VideoValidBounds

  • java.lang.Object
    • com.supermap.videomap.VideoValidBounds


  • public class VideoValidBounds
    extends java.lang.Object
    Video effective boundary
    • Constructor Summary

      Constructors 
      Constructor and Description
      VideoValidBounds()
      The constructor
      VideoValidBounds(int x, int y, int width, int height)
      The constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean contains(int x, int y)
      Determine whether (x, y) is within the video valid boundary
      int getCenterX()
      Gets the X value of the central coordinate
      int getCenterY()
      Get the Y value of the central coordinate
      • Methods inherited from class java.lang.Object

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

      • VideoValidBounds

        public VideoValidBounds()
        The constructor
      • VideoValidBounds

        public VideoValidBounds(int x,
                                int y,
                                int width,
                                int height)
        The constructor
        Parameters:
        x -
        y -
        width -
        height -
    • Method Detail

      • contains

        public boolean contains(int x,
                                int y)
        Determine whether (x, y) is within the video valid boundary
        Parameters:
        x -
        y -
        Returns:
      • getCenterX

        public int getCenterX()
        Gets the X value of the central coordinate
        Returns:
      • getCenterY

        public int getCenterY()
        Get the Y value of the central coordinate
        Returns: