Package noaa.coastwatch.render
Interface Renderable
- All Known Implementing Classes:
ColorComposite
,ColorEnhancement
,ColorPointEnhancement
,EarthDataPlot
,EarthDataView
,HybridView
,SolidBackground
public interface Renderable
The renderable interface sets the methods for classes that render
to images or graphics contexts.
- Since:
- 3.1.1
- Author:
- Peter Hollemans
-
Method Summary
Modifier and TypeMethodDescriptionGets the rendered size for this renderable.void
render
(Graphics2D g) Renders this renderable to the graphics context.
-
Method Details
-
getSize
Gets the rendered size for this renderable.- Parameters:
g
- the graphics context to be used for rendering. This is used to determine the total rendering size from font information and so on.- Returns:
- the total rendered dimensions.
-
render
Renders this renderable to the graphics context.- Parameters:
g
- the graphics context for rendering.
-