com.gwidgets.api.leaflet.SVG Maven / Gradle / Ivy
The newest version!
package com.gwidgets.api.leaflet;
import elemental2.svg.SVGElement;
import jsinterop.annotations.JsType;
@JsType(isNative = true)
public class SVG extends Renderer{
private SVG() {
super();
}
/** Returns a instance of SVGElement, corresponding to the class name passed. For example, using 'line' will return an instance of SVGLineElement.
* @return SVGElement
*/
public static native SVGElement create(String name);
/** Generates a SVG path string for multiple rings, with each ring turning into "M..L..L.." instructions
* @return String the path string
*/
public static native String pointsToPath(Point[] rings, Boolean closed);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy