Implement getImage method to get to the java.awt.Image as suggested by Jürg Lehni.
This commit is contained in:
		
							parent
							
								
									55b48fd484
								
							
						
					
					
						commit
						17427e1e16
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		|  | @ -71,6 +71,15 @@ public abstract class ImageWrapper { | ||||||
|         return g; |         return g; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |     /** | ||||||
|  |      * Returns the Image object represented by this ImageWrapper. | ||||||
|  |      * | ||||||
|  |      * @return the image object | ||||||
|  |      */ | ||||||
|  |     public Image getImage() { | ||||||
|  |         return img; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
|     /** |     /** | ||||||
|      *  Set the font used to write on this image. |      *  Set the font used to write on this image. | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue