public class SvgRenderer extends Renderer<SVGDocument>
Represents SVG document renderer.
SVGDocument
Constructor and Description |
---|
SvgRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
render(IDevice device,
boolean needFlush,
SVGSVGElement... elements)
Renders multiple
SVGSVGElement s into specified IDevice . |
void |
render(IDevice device,
SVGSVGElement... elements)
Renders multiple
SVGSVGElement s into specified IDevice . |
void |
render(IDevice device,
com.aspose.html.internal.ms.System.TimeSpan timeout,
SVGDocument document)
Defines method for rendering
SVGDocument into specific IDevice . |
void |
render(IDevice device,
com.aspose.html.internal.ms.System.TimeSpan timeout,
SVGDocument[] documents)
Defines method for rendering multiple
SVGDocument s into specific IDevice . |
public void render(IDevice device, com.aspose.html.internal.ms.System.TimeSpan timeout, SVGDocument[] documents)
Defines method for rendering multiple SVGDocument
s into specific IDevice
.
The rendering will be performed once there are no any network operations for loading resources, active timers, animation tasks or specified timeout is elapsed.
render
in class Renderer<SVGDocument>
device
- The output device.timeout
- A TimeSpan
that represents the number of milliseconds to wait, or a TimeSpan
that represents -1 millisecond to wait indefinitely.documents
- The documents to render.public void render(IDevice device, com.aspose.html.internal.ms.System.TimeSpan timeout, SVGDocument document)
Defines method for rendering SVGDocument
into specific IDevice
.
The rendering will be performed once there are no any network operations for loading resources, active timers, animation tasks or specified timeout is elapsed.
render
in class Renderer<SVGDocument>
device
- The output device.timeout
- A TimeSpan
that represents the number of milliseconds to wait, or a TimeSpan
that represents -1 millisecond to wait indefinitely.document
- The documents to render.public void render(IDevice device, SVGSVGElement... elements)
Renders multiple SVGSVGElement
s into specified IDevice
.
device
- The device.elements
- The elements to render.public void render(IDevice device, boolean needFlush, SVGSVGElement... elements)
Renders multiple SVGSVGElement
s into specified IDevice
.
device
- The device.needFlush
- The flag which controls flushing.elements
- The elements to render.