public void displayCercles() {
// ProjectFrame projectFrame =
// application.getMainFrame().newProjectFrame();
this.exampleGraphicFill_Fill_Polygon();
this.exampleGraphicFill_Stroke_Polygon();
this.exampleGraphicStroke_Stroke_Polygon();
this.exampleShadow();
this.exampleGraphicStroke_Line();
this.exampleGraphicFill_Line();
this.exampleTexture();
FileWriter fichier;
try {
fichier = new FileWriter("./src/main/resources/sld/GraphicMark.xml");
this.projectFrame.getSld().marshall(fichier);
} catch (IOException e1) {
e1.printStackTrace();
}
try {
this.projectFrame.getLayerViewPanel().getViewport().zoomToFullExtent();
} catch (NoninvertibleTransformException e) {
e.printStackTrace();
}
}
SLDDemoApplication.java 文件源码
java
阅读 26
收藏 0
点赞 0
评论 0
项目:geoxygene
作者:
评论列表
文章目录