Package org.eclipse.draw2d
Interface GraphicsSource
- All Known Implementing Classes:
- NativeGraphicsSource
public interface GraphicsSource
Provides a 
Graphics object for painting.- 
Method SummaryModifier and TypeMethodDescriptionvoidflushGraphics(Rectangle region) Tells the GraphicsSource that you have finished using that region.getGraphics(Rectangle region) Returns a Graphics for the rectangular region requested.
- 
Method Details- 
getGraphicsReturns a Graphics for the rectangular region requested. May returnnull.- Parameters:
- region- The rectangular region
- Returns:
- A new Graphics object for the given region
 
- 
flushGraphicsTells the GraphicsSource that you have finished using that region.- Parameters:
- region- The rectangular region that that no longer needs the Graphics
 
 
-