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 constructorVideoValidBounds(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 boundaryint
getCenterX()
Gets the X value of the central coordinateint
getCenterY()
Get the Y value of the central coordinate
-
-
-
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:
-
-