Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Draw2d
3.3

org.eclipse.draw2d
Interface GraphicsSource

All Known Implementing Classes:
NativeGraphicsSource

public interface GraphicsSource

Provides a Graphics object for painting.


Method Summary
 void flushGraphics ( Rectangle region)
          Tells the GraphicsSource that you have finished using that region.
  Graphics getGraphics ( Rectangle region)
          Returns a Graphics for the rectangular region requested.
 

Method Detail

getGraphics

public 
Graphics getGraphics(
Rectangle region)
Returns a Graphics for the rectangular region requested. May return null.

Parameters:
region - The rectangular region
Returns:
A new Graphics object for the given region

flushGraphics

public void flushGraphics(
Rectangle region)
Tells the GraphicsSource that you have finished using that region.

Parameters:
region - The rectangular region that that no longer needs the Graphics

Eclipse Draw2d
3.3

Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire