|
![]() |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCamera
public class Camera
A Camera used during the broadcast/recording of a sporting event. Note: (0,0) is the upper-left corner of the screen.
Constructor Summary | |
---|---|
Camera()
Explicit Value Constructor |
Method Summary | |
---|---|
java.awt.Rectangle |
getBillboardBounds(int i)
Get the location and size of a virtual billboard |
java.awt.Color |
getBillboardColor()
Gets the Color of the billboard given the current Camera settings and lighting conditions |
java.awt.Point |
getBot(java.lang.String yard)
Gets the coordinates of the "bottom" Point (i.e., the point at the bottom of the screen) for the given yard line (based on the current camera position and angle). |
java.awt.Color |
getFirstDownColor()
Get the Color to use for the first down line |
java.awt.Color |
getGrassColor()
Gets the Color of the grass given the current Camera settings and lighting conditions |
java.awt.Color |
getLineOfScrimmageColor()
Get the Color to use for the line of scrimmage |
java.awt.Point |
getTop(java.lang.String yard)
Gets the coordinates of the "top" Point (i.e., the Point at the top of the screen) for the given yard line (based on the current camera position and angle). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Camera()
Method Detail |
---|
public java.awt.Rectangle getBillboardBounds(int i)
i
- The index of the virtual billboard
public java.awt.Color getBillboardColor()
public java.awt.Point getBot(java.lang.String yard)
yard
- The yard line of interestpublic java.awt.Color getFirstDownColor()
public java.awt.Color getGrassColor()
public java.awt.Color getLineOfScrimmageColor()
public java.awt.Point getTop(java.lang.String yard)
yard
- The yard line of interest
|
![]() |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |