mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-12 02:02:16 +10:00
icon rendering
This commit is contained in:
+2
-2
@@ -111,8 +111,8 @@ public class ComponentProcessor {
|
|||||||
RenderingHints.VALUE_ANTIALIAS_ON);
|
RenderingHints.VALUE_ANTIALIAS_ON);
|
||||||
g2d.setRenderingHint(RenderingHints.KEY_RENDERING,
|
g2d.setRenderingHint(RenderingHints.KEY_RENDERING,
|
||||||
RenderingHints.VALUE_RENDER_QUALITY);
|
RenderingHints.VALUE_RENDER_QUALITY);
|
||||||
g2d.setRenderingHint(RenderingHints.KEY_STROKE_CONTROL,
|
// g2d.setRenderingHint(RenderingHints.KEY_STROKE_CONTROL,
|
||||||
RenderingHints.VALUE_STROKE_PURE);
|
// RenderingHints.VALUE_STROKE_PURE);
|
||||||
componentInstance.drawIcon(g2d, Presenter.ICON_SIZE,
|
componentInstance.drawIcon(g2d, Presenter.ICON_SIZE,
|
||||||
Presenter.ICON_SIZE);
|
Presenter.ICON_SIZE);
|
||||||
icon = new ImageIcon(image);
|
icon = new ImageIcon(image);
|
||||||
|
|||||||
Reference in New Issue
Block a user