本文整理了Java中org.geotools.styling.Halo.setFill()
方法的一些代码示例,展示了Halo.setFill()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Halo.setFill()
方法的具体详情如下:
包路径:org.geotools.styling.Halo
类名称:Halo
方法名:setFill
[英]The fill (color) of the halo
[中]光环的填充(颜色)
代码示例来源:origin: geotools/geotools
@Override
protected void fill(Fill fill) {
halo.setFill(fill);
}
});
代码示例来源:origin: geotools/geotools
public Halo createHalo(Fill fill, Expression radius) {
Halo halo = new HaloImpl(filterFactory);
halo.setFill(fill);
halo.setRadius(radius);
return halo;
}
代码示例来源:origin: geotools/geotools
/** Internal parse method - made protected for unit testing */
protected Halo parseHalo(Node root) {
if (LOGGER.isLoggable(Level.FINEST)) {
LOGGER.finest("parsing halo");
}
Halo halo = factory.createHalo(factory.createFill(ff.literal("#FFFFFF")), ff.literal(1.0));
NodeList children = root.getChildNodes();
final int length = children.getLength();
for (int i = 0; i < length; i++) {
Node child = children.item(i);
if ((child == null) || (child.getNodeType() != Node.ELEMENT_NODE)) {
continue;
}
String childName = child.getLocalName();
if (childName == null) {
childName = child.getNodeName();
}
if (childName.equalsIgnoreCase(fillSt)) {
halo.setFill(parseFill(child));
} else if (childName.equalsIgnoreCase("Radius")) {
halo.setRadius(parseCssParameter(child));
}
}
return halo;
}
代码示例来源:origin: org.geotools/gt-ysld
@Override
protected void fill(Fill fill) {
halo.setFill(fill);
}
});
代码示例来源:origin: org.geotools/gt2-main
public Halo createHalo(Fill fill, Expression radius) {
Halo halo = new HaloImpl();
halo.setFill(fill);
halo.setRadius(radius);
return halo;
}
代码示例来源:origin: org.geotools/gt-main
public Halo createHalo(Fill fill, Expression radius) {
Halo halo = new HaloImpl(filterFactory);
halo.setFill(fill);
halo.setRadius(radius);
return halo;
}
代码示例来源:origin: org.geotools/gt-main
halo.setFill(parseFill(child));
} else if (childName.equalsIgnoreCase("Radius")) {
halo.setRadius(parseCssParameter(child));
代码示例来源:origin: org.geotools/gt-widgets-swing-pending
public void apply() {
if (halo != null) {
halo.setFill(guiFill.getEdited());
halo.setRadius(guiRadius.getExpression());
}
}
代码示例来源:origin: org.geotools/gt2-main
halo.setFill(parseFill(child));
内容来源于网络,如有侵权,请联系作者删除!