public class SVGUtil extends Object
SVGElement
instances.Modifier and Type | Method and Description |
---|---|
static org.w3c.dom.svg.SVGDocument |
createSVGDocument()
Returns an implementation instance of the
SVGDocument
interface. |
static org.w3c.dom.svg.SVGDocument |
createSVGDocument(SVGDocumentBuilderConfigurator.RealToStringConverter converter)
Deprecated.
since JViews 5.5, use
createSVGDocument(SVGDocumentBuilderConfigurator.RealToStringConverter, short)
instead. |
static org.w3c.dom.svg.SVGDocument |
createSVGDocument(SVGDocumentBuilderConfigurator.RealToStringConverter converter,
short profile)
Returns an implementation instance of the
SVGDocument
interface. |
static void |
fillArcPathData(org.w3c.dom.svg.SVGPathElement element,
IlvArc arc,
IlvTransformer t)
Fills an
SVGPathElement data list to represent an
IlvArc . |
static void |
fillGraphicPathData(org.w3c.dom.svg.SVGPathElement element,
IlvGraphicPath gp,
IlvTransformer t,
boolean compact)
Fills an
SVGPathElement data list to represent an
IlvGraphicPath . |
static void |
fillLinkPointsList(org.w3c.dom.svg.SVGPolylineElement element,
IlvLinkImage obj,
IlvTransformer t,
boolean compact)
Fills an
SVGPolylineElement points list to represent an
IlvLinkImage . |
static void |
fillPolyPointsList(org.w3c.dom.svg.SVGPolygonElement element,
IlvPolyPointsInterface obj,
IlvTransformer t,
boolean compact)
Fills an
SVGPolygonElement points list to represent an
IlvPolyPointsInterface instance. |
static void |
fillPolyPointsList(org.w3c.dom.svg.SVGPolylineElement element,
IlvPolyPointsInterface obj,
IlvTransformer t,
boolean compact)
Fills an
SVGPolylineElement points list to represent an
IlvPolyPointsInterface instance. |
static void |
fillShapePathData(org.w3c.dom.svg.SVGPathElement element,
Shape shape,
IlvTransformer t,
boolean compact)
Fills an
SVGPathElement data list to represent a
Shape . |
static void |
fillSplinePathData(org.w3c.dom.svg.SVGPathElement element,
IlvLinkImage obj,
IlvTransformer t)
Fills an
SVGPathElement data list to represent
an IlvLinkImage object representing a spline. |
static void |
fillSplinePathData(org.w3c.dom.svg.SVGPathElement element,
IlvSpline obj,
IlvTransformer t)
Fills an
SVGPathElement data list to represent
an IlvSpline object. |
public static org.w3c.dom.svg.SVGDocument createSVGDocument()
SVGDocument
interface.@Deprecated public static org.w3c.dom.svg.SVGDocument createSVGDocument(SVGDocumentBuilderConfigurator.RealToStringConverter converter)
createSVGDocument(SVGDocumentBuilderConfigurator.RealToStringConverter, short)
instead.SVGDocument
interface.public static org.w3c.dom.svg.SVGDocument createSVGDocument(SVGDocumentBuilderConfigurator.RealToStringConverter converter, short profile)
SVGDocument
interface.public static void fillArcPathData(org.w3c.dom.svg.SVGPathElement element, IlvArc arc, IlvTransformer t)
SVGPathElement
data list to represent an
IlvArc
.element
- The SVGPathElement
to fill.arc
- The IlvArc
instance.t
- The transformer to apply.IlvArc
public static void fillGraphicPathData(org.w3c.dom.svg.SVGPathElement element, IlvGraphicPath gp, IlvTransformer t, boolean compact)
SVGPathElement
data list to represent an
IlvGraphicPath
.element
- The SVGPathElement
to fill.gp
- The IlvGraphicPath
instance.t
- The transformer to apply.compact
- Should be true
if the number of points of the
path should be reduced.IlvGraphicPath
public static void fillShapePathData(org.w3c.dom.svg.SVGPathElement element, Shape shape, IlvTransformer t, boolean compact)
SVGPathElement
data list to represent a
Shape
.element
- The SVGPathElement
to fill.shape
- The Shape
instance.t
- The transformer to apply.compact
- Should be true
if the number of points of the
path should be reduced.IlvGeneralPath
public static void fillLinkPointsList(org.w3c.dom.svg.SVGPolylineElement element, IlvLinkImage obj, IlvTransformer t, boolean compact)
SVGPolylineElement
points list to represent an
IlvLinkImage
.element
- The SVGPolylineElement
to fill.obj
- The IlvLinkImage
instance.t
- The transformer to apply.compact
- Should be true
if the number of points of the
path should be reduced.IlvLinkImage
public static void fillPolyPointsList(org.w3c.dom.svg.SVGPolylineElement element, IlvPolyPointsInterface obj, IlvTransformer t, boolean compact)
SVGPolylineElement
points list to represent an
IlvPolyPointsInterface
instance.element
- The SVGPolylineElement
to fill.obj
- The IlvPolyPointsInterface
instance.t
- The transformer to apply.compact
- Should be true
if the number of points of the
path should be reduced.IlvPolyPointsInterface
public static void fillPolyPointsList(org.w3c.dom.svg.SVGPolygonElement element, IlvPolyPointsInterface obj, IlvTransformer t, boolean compact)
SVGPolygonElement
points list to represent an
IlvPolyPointsInterface
instance.element
- The SVGPolylineElement
to fill.obj
- The IlvPolyPointsInterface
instance.t
- The transformer to apply.compact
- Should be true
if the number of points of the
path should be reduced.IlvPolyPointsInterface
public static void fillSplinePathData(org.w3c.dom.svg.SVGPathElement element, IlvSpline obj, IlvTransformer t)
SVGPathElement
data list to represent
an IlvSpline
object.element
- The SVGPathElement
to fill.obj
- The IlvSpline
instance.t
- The transformer to apply.IlvSpline
public static void fillSplinePathData(org.w3c.dom.svg.SVGPathElement element, IlvLinkImage obj, IlvTransformer t)
SVGPathElement
data list to represent
an IlvLinkImage
object representing a spline.element
- The SVGPathElement
to fill.obj
- The IlvSplineLinkImage
instance.t
- The transformer to apply.IlvSpline
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.