Package com.luciad.drawing
Class IconPainterContext
java.lang.Object
com.luciad.drawing.IconPainterContext
- All Implemented Interfaces:
- AutoCloseable
Contains context information for painting the icon.
- 
Constructor SummaryConstructorsConstructorDescriptionIconPainterContext(double displayScale) Creates a new context using the given display scale.
- 
Method Summary
- 
Constructor Details- 
IconPainterContextpublic IconPainterContext(double displayScale) Creates a new context using the given display scale.- Parameters:
- displayScale- the display scale.
 
 
- 
- 
Method Details- 
finalizeprotected void finalize()
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
 
- 
getDisplayScalepublic double getDisplayScale()Returns the display scale of the screen on which the icon is displayed.See Map#setDisplayScalefor more information on the concept of display scale.- Returns:
- the display scale of the screen on which the icon is displayed.
 
 
-