MCPcopy Create free account
hub / github.com/beanshell/beanshell / getBufferedGraphics

Method getBufferedGraphics

src/bsh/util/BshCanvas.java:71–75  ·  view source on GitHub ↗

Get a buffered (persistent) image for drawing on this component

()

Source from the content-addressed store, hash-verified

69 Get a buffered (persistent) image for drawing on this component
70 */
71 public Graphics getBufferedGraphics() {
72 Dimension dim = getSize();
73 imageBuffer = createImage( dim.width, dim.height );
74 return imageBuffer.getGraphics();
75 }
76
77 public void setBounds( int x, int y, int width, int height ) {
78 setPreferredSize( new Dimension(width, height) );

Callers 1

startSplashScreenMethod · 0.95

Calls 1

getSizeMethod · 0.45

Tested by

no test coverage detected