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 Summary
ConstructorDescriptionIconPainterContext
(double displayScale) Creates a new context using the given display scale. -
Method Summary
-
Constructor Details
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
getDisplayScale
public double getDisplayScale()Returns the display scale of the screen on which the icon is displayed.See
Map#setDisplayScale
for more information on the concept of display scale.- Returns:
- the display scale of the screen on which the icon is displayed.
-