public static ShapePainter convertMarkers(Element e,
ShapeNode node,
BridgeContext ctx) {
Value v;
v = CSSUtilities.getComputedStyle(e, SVGCSSEngine.MARKER_START_INDEX);
Marker startMarker = convertMarker(e, v, ctx);
v = CSSUtilities.getComputedStyle(e, SVGCSSEngine.MARKER_MID_INDEX);
Marker midMarker = convertMarker(e, v, ctx);
v = CSSUtilities.getComputedStyle(e, SVGCSSEngine.MARKER_END_INDEX);
Marker endMarker = convertMarker(e, v, ctx);
if (startMarker != null || midMarker != null || endMarker != null) {
MarkerShapePainter p = new MarkerShapePainter(node.getShape());
p.setStartMarker(startMarker);
p.setMiddleMarker(midMarker);