MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / getBounds

Method getBounds

src/org/opensourcephysics/media/core/TShape.java:129–132  ·  view source on GitHub ↗

Gets the screen bounds of the shape. @param vidPanel the video panel @return the bounding rectangle

(VideoPanel vidPanel)

Source from the content-addressed store, hash-verified

127 * @return the bounding rectangle
128 */
129 @Override
130public Rectangle getBounds(VideoPanel vidPanel) {
131 return getShape(vidPanel).getBounds();
132 }
133
134 /**
135 * Sets the visible state.

Callers 15

actionPerformedMethod · 0.45
createGUIMethod · 0.45
aboutThreadsMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45
LaunchClassChooserMethod · 0.45
setVisibleMethod · 0.45
showHelpMethod · 0.45
createGUIMethod · 0.45
JarTreeDialogMethod · 0.45
LauncherMethod · 0.45
createGUIMethod · 0.45

Calls 1

getShapeMethod · 0.95

Tested by 2

Test_EventMethod · 0.36
loadVideoMethod · 0.36