com.supermap.videomap
Class VideoValidBounds
- java.lang.Object
-
- com.supermap.videomap.VideoValidBounds
-
public class VideoValidBounds extends java.lang.ObjectVideo 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 booleancontains(int x, int y)Determine whether (x, y) is within the video valid boundaryintgetCenterX()Gets the X value of the central coordinateintgetCenterY()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:
-
-