Class SvgUtil
java.lang.Object
dev.webfx.kit.mapper.peers.javafxgraphics.gwtj2cl.util.SvgUtil
- Author:
- Bruno Salmon
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic elemental2.dom.Element
static elemental2.dom.Element
static elemental2.dom.Element
static elemental2.dom.Element
static elemental2.dom.Element
static elemental2.dom.Element
static elemental2.svg.SVGSVGElement
static elemental2.dom.Element
createSvgElement
(String tag) static elemental2.dom.Element
static elemental2.dom.Element
static elemental2.dom.Element
static elemental2.dom.Element
static elemental2.dom.Element
static String
static String
getDefUrl
(elemental2.dom.Element defElement) static String
toSvgStrokeAlignment
(StrokeType strokeType) static String
toSvgStrokeLineCap
(StrokeLineCap strokeLineCap) static String
toSvgStrokeLineJoin
(StrokeLineJoin strokeLineJoin) static elemental2.dom.Element
updateLinearGradient
(LinearGradient lg, elemental2.dom.Element svgLg) static elemental2.dom.Element
updateRadialGradient
(RadialGradient rg, elemental2.dom.Element svgRg)
-
Constructor Details
-
SvgUtil
public SvgUtil()
-
-
Method Details
-
createSvgElement
-
createSvgElement
public static elemental2.svg.SVGSVGElement createSvgElement() -
createSvgDefs
public static elemental2.dom.Element createSvgDefs() -
createSvgLine
public static elemental2.dom.Element createSvgLine() -
createSvgRectangle
public static elemental2.dom.Element createSvgRectangle() -
createSvgCircle
public static elemental2.dom.Element createSvgCircle() -
createSvgPath
public static elemental2.dom.Element createSvgPath() -
createSvgText
public static elemental2.dom.Element createSvgText() -
createSvgGroup
public static elemental2.dom.Element createSvgGroup() -
getDefUrl
-
createClipPath
public static elemental2.dom.Element createClipPath() -
createLinearGradient
public static elemental2.dom.Element createLinearGradient() -
createRadialGradient
public static elemental2.dom.Element createRadialGradient() -
createFilter
public static elemental2.dom.Element createFilter() -
generateNewFilterId
-
updateLinearGradient
public static elemental2.dom.Element updateLinearGradient(LinearGradient lg, elemental2.dom.Element svgLg) -
updateRadialGradient
public static elemental2.dom.Element updateRadialGradient(RadialGradient rg, elemental2.dom.Element svgRg) -
toSvgStrokeLineCap
-
toSvgStrokeLineJoin
-
toSvgStrokeAlignment
-