mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
round corners
This commit is contained in:
@@ -1,15 +1,15 @@
|
|||||||
<map>
|
<map>
|
||||||
<entry>
|
<entry>
|
||||||
<string>metric</string>
|
<string>lastPath</string>
|
||||||
<boolean>true</boolean>
|
<string>C:\Documents and Settings\Branislav Stojkovic\Desktop</string>
|
||||||
</entry>
|
</entry>
|
||||||
<entry>
|
<entry>
|
||||||
<string>zoom</string>
|
<string>zoom</string>
|
||||||
<double>1.0</double>
|
<double>1.0</double>
|
||||||
</entry>
|
</entry>
|
||||||
<entry>
|
<entry>
|
||||||
<string>lastPath</string>
|
<string>metric</string>
|
||||||
<string>C:\Documents and Settings\Branislav Stojkovic\Desktop</string>
|
<boolean>true</boolean>
|
||||||
</entry>
|
</entry>
|
||||||
<entry>
|
<entry>
|
||||||
<string>default.org.diylc.components.misc.Label:Color</string>
|
<string>default.org.diylc.components.misc.Label:Color</string>
|
||||||
|
|||||||
+1
-1
@@ -32,7 +32,7 @@ public class ObjectCache {
|
|||||||
if (basicStrokeMap.containsKey(width)) {
|
if (basicStrokeMap.containsKey(width)) {
|
||||||
return basicStrokeMap.get(width);
|
return basicStrokeMap.get(width);
|
||||||
}
|
}
|
||||||
Stroke stroke = new BasicStroke(width);
|
Stroke stroke = new BasicStroke(width, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND);
|
||||||
basicStrokeMap.put(width, stroke);
|
basicStrokeMap.put(width, stroke);
|
||||||
return stroke;
|
return stroke;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user