public static interface SVGDocumentBuilderConfigurator.GraphicTranslator
IlvGraphic
to an instance
of an SVG DOM Element
.
Default GraphicTranslator
implementations are
available with the SVGDocumentBuilderConfigurator
for Perforce JViews predefined IlvGraphic
s.
When defining your own IlvGraphic
, you can register
your translator with the SVGDocumentBuilderConfigurator
instance using the SVGDocumentBuilderConfigurator.putTranslator(java.lang.String, ilog.views.svg.SVGDocumentBuilderConfigurator.GraphicTranslator)
method. If no translator
is registered for your own IlvGraphic
, the
SVGDocumentBuilder
will use the
GenericGraphicTranslator
to translate your graphic.Modifier and Type | Method and Description |
---|---|
Element |
translate(IlvGraphic graphic,
IlvTransformer t,
SVGDocumentBuilder builder)
This method must return an SVG
Element representing
the IlvGraphic parameter drawn with the given
IlvTransformer . |
Element translate(IlvGraphic graphic, IlvTransformer t, SVGDocumentBuilder builder)
Element
representing
the IlvGraphic
parameter drawn with the given
IlvTransformer
.graphic
- The IlvGraphic
to be translated.t
- The IlvTransformer
under which the drawing is
performed.builder
- The SVGDocumentBuilder
for which the
operation is done.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.