Search in sources :

Example 1 with GraphicStrokeType

use of org.geotoolkit.se.xml.v110.GraphicStrokeType in project geotoolkit by Geomatys.

the class GTtoSE110Transformer method visit.

/**
 * Transform a GT graphic stroke in jaxb graphic stroke.
 */
@Override
public GraphicStrokeType visit(final GraphicStroke graphicStroke, final Object data) {
    final GraphicStrokeType gst = se_factory.createGraphicStrokeType();
    gst.setGraphic(visit((Graphic) graphicStroke, null));
    gst.setGap(visitExpression(graphicStroke.getGap()));
    gst.setInitialGap(visitExpression(graphicStroke.getInitialGap()));
    return gst;
}
Also used : GraphicStrokeType(org.geotoolkit.se.xml.v110.GraphicStrokeType) Graphic(org.opengis.style.Graphic) ExternalGraphic(org.opengis.style.ExternalGraphic)

Aggregations

GraphicStrokeType (org.geotoolkit.se.xml.v110.GraphicStrokeType)1 ExternalGraphic (org.opengis.style.ExternalGraphic)1 Graphic (org.opengis.style.Graphic)1