Revision: 5979 http://sourceforge.net/p/jump-pilot/code/5979 Author: ma15569 Date: 2018-10-25 12:26:27 +0000 (Thu, 25 Oct 2018) Log Message: ----------- added fill/line colors to wkt symbols according to layer basic style colors
Modified Paths: -------------- plug-ins/CadPlan_VertexSymbols/trunk/src/com/cadplan/jump/WKTVertexPanel.java Modified: plug-ins/CadPlan_VertexSymbols/trunk/src/com/cadplan/jump/WKTVertexPanel.java =================================================================== --- plug-ins/CadPlan_VertexSymbols/trunk/src/com/cadplan/jump/WKTVertexPanel.java 2018-10-12 11:45:51 UTC (rev 5978) +++ plug-ins/CadPlan_VertexSymbols/trunk/src/com/cadplan/jump/WKTVertexPanel.java 2018-10-25 12:26:27 UTC (rev 5979) @@ -1,8 +1,11 @@ package com.cadplan.jump; +import com.cadplan.jump.VertexParams; +import com.cadplan.jump.WKTVertexStyle; import com.vividsolutions.jump.workbench.ui.renderer.style.VertexStyle; import javax.swing.*; + import java.awt.*; /** @@ -22,6 +25,9 @@ double scale = ((WKTVertexStyle)symbol).getScale(); int size = ((WKTVertexStyle)symbol).wktShape.extent; ((WKTVertexStyle)symbol).setSize((int)((double)size/scale)); + ((WKTVertexStyle) symbol).setColors(VertexParams.selectedLayer + .getBasicStyle().getLineColor(), VertexParams.selectedLayer + .getBasicStyle().getFillColor()); } public void paint(Graphics g) _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel