本文整理了Java中org.geotools.styling.Rule.getLegendGraphic
方法的一些代码示例,展示了Rule.getLegendGraphic
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Rule.getLegendGraphic
方法的具体详情如下:
包路径:org.geotools.styling.Rule
类名称:Rule
方法名:getLegendGraphic
[英]A set of equivalent Graphics in different formats which can be used as a legend against features stylized by the symbolizers in this rule.
[中]一组不同格式的等效图形,可作为图例,与本规则中符号化的特征相对照。
代码示例来源:origin: geotools/geotools
Graphic[] legendCopy = rule.getLegendGraphic();
for (int i = 0; i < legendCopy.length; i++) {
legendCopy[i] = copy(legendCopy[i]);
代码示例来源:origin: geotools/geotools
element("Abstract", rule.getDescription().getAbstract());
Graphic[] gr = rule.getLegendGraphic();
for (int i = 0; i < gr.length; i++) {
start("LegendGraphic");
代码示例来源:origin: org.geotools/gt-render
public void visit(Rule rule) {
Filter filter = rule.getFilter();
if (filter != null) {
filter.accept(this, null);
}
Symbolizer[] symbolizers = rule.getSymbolizers();
if (symbolizers != null) {
for (int i = 0; i < symbolizers.length; i++) {
Symbolizer symbolizer = symbolizers[i];
symbolizer.accept(this);
}
}
Graphic[] legendGraphics = rule.getLegendGraphic();
if (legendGraphics != null) {
}
}
代码示例来源:origin: org.geotools/gt2-render
public void visit(Rule rule) {
Filter filter = rule.getFilter();
if (filter != null) {
filter.accept(this, null);
}
Symbolizer[] symbolizers = rule.getSymbolizers();
if (symbolizers != null) {
for (int i = 0; i < symbolizers.length; i++) {
Symbolizer symbolizer = symbolizers[i];
symbolizer.accept(this);
}
}
Graphic[] legendGraphics = rule.getLegendGraphic();
if (legendGraphics != null) {
}
}
代码示例来源:origin: org.geotools/gt-render
/**
* @see org.geotools.styling.StyleVisitor#visit(org.geotools.styling.Rule)
*/
public void visit(Rule rule) {
Filter filter = rule.getFilter();
if (filter != null) {
filter.accept( this, null );
}
Symbolizer[] symbolizers = rule.getSymbolizers();
if (symbolizers != null) {
for (int i = 0; i < symbolizers.length; i++) {
Symbolizer symbolizer = symbolizers[i];
symbolizer.accept(this);
}
}
Graphic[] legendGraphics = rule.getLegendGraphic();
if (legendGraphics != null) {
}
}
代码示例来源:origin: org.geotools/gt2-main
/**
* @see org.geotools.styling.StyleVisitor#visit(org.geotools.styling.Rule)
*/
public void visit(Rule rule) {
Filter filter = rule.getFilter();
if (filter != null) {
filter.accept( this, null );
}
Symbolizer[] symbolizers = rule.getSymbolizers();
if (symbolizers != null) {
for (int i = 0; i < symbolizers.length; i++) {
Symbolizer symbolizer = symbolizers[i];
symbolizer.accept(this);
}
}
Graphic[] legendGraphics = rule.getLegendGraphic();
if (legendGraphics != null) {
}
}
代码示例来源:origin: org.geoserver/gs-wms
Graphic[] legendCopy = rule.getLegendGraphic();
for (int i = 0; i < legendCopy.length; i++) {
legendCopy[i] = copy(legendCopy[i]);
代码示例来源:origin: robward-scisys/sldeditor
Graphic[] legendCopy = rule.getLegendGraphic();
for (int i = 0; i < legendCopy.length; i++) {
legendCopy[i] = copy(legendCopy[i]);
代码示例来源:origin: org.geotools/gt-main
Graphic[] legendCopy = rule.getLegendGraphic();
for (int i = 0; i < legendCopy.length; i++) {
legendCopy[i] = copy(legendCopy[i]);
代码示例来源:origin: org.geotools/gt2-main
Graphic[] legendGraphic = rule.getLegendGraphic();
Graphic[] legendGraphicCopy = new Graphic[legendGraphic.length];
代码示例来源:origin: org.geotools/gt2-main
Graphic[] legendGraphic = rule.getLegendGraphic();
Graphic[] legendGraphicCopy = new Graphic[legendGraphic.length];
代码示例来源:origin: org.geotools/gt2-main
if (rule.getAbstract() != null) element("Abstract", rule.getAbstract());
Graphic[] gr = rule.getLegendGraphic();
for (int i = 0; i < gr.length; i++) {
start("LegendGraphic");
代码示例来源:origin: org.geotools/gt-main
element("Abstract", rule.getDescription().getAbstract());
Graphic[] gr = rule.getLegendGraphic();
for (int i = 0; i < gr.length; i++) {
start("LegendGraphic");
内容来源于网络,如有侵权,请联系作者删除!