public final class NativeGraphicsSource extends java.lang.Object implements GraphicsSource
Constructor and Description |
---|
NativeGraphicsSource(Control canvas)
Constructs a new graphics source on the given control.
|
Modifier and Type | Method and Description |
---|---|
void |
flushGraphics(Rectangle region)
Does nothing.
|
Graphics |
getGraphics(Rectangle r)
Always returns
null , because |
public NativeGraphicsSource(Control canvas)
canvas
- the controlpublic Graphics getGraphics(Rectangle r)
null
, becausegetGraphics
in interface GraphicsSource
r
- The rectangular regionGraphicsSource.getGraphics(Rectangle)
public void flushGraphics(Rectangle region)
flushGraphics
in interface GraphicsSource
region
- The rectangular region that that no longer needs the GraphicsGraphicsSource.flushGraphics(Rectangle)
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.