Class SvgDataUriGlyph

  • All Implemented Interfaces:
    org.kie.workbench.common.stunner.core.definition.shape.Glyph

    public final class SvgDataUriGlyph
    extends Object
    implements org.kie.workbench.common.stunner.core.definition.shape.Glyph
    A glyph that represents an SVG image. Additional SVG declarations can be added for inserting into the SVG def generated.

    Default renderers display this image by parsing or attaching the svg declarations into the client response, this way it provides full DOM support for the SVG, as it's not just being rendered as an image (as when using an ImageDataUriGlyph).

    • Method Detail

      • getSvg

        public com.google.gwt.safehtml.shared.SafeUri getSvg()
      • getDefs

        public Collection<com.google.gwt.safehtml.shared.SafeUri> getDefs()