Package org.gephi.preview.api
Interface RenderTarget
-
public interface RenderTarget
RenderTarget is the graphic container the renderers draw into.There are three types of targets: Processing, PDF or SVG. When the target is G2D, renderers obtain the
Graphics2D
object. For the SVG target, renderers obtain Batik's Document instance. As the PDF target rely on the iText library renderers obtain the PdfContentByte object.Render targets are not drawing anything. They just make accessible the canvas renderers can draw into.
When render targets have specific properties, values should be set in the
PreviewProperties
.- Author:
- Yudi Xue, Mathieu Bastian
- See Also:
Renderer
-
-
Field Summary
Fields Modifier and Type Field Description static String
G2D_TARGET
static String
PDF_TARGET
static String
SVG_TARGET
-
-
-
Field Detail
-
G2D_TARGET
static final String G2D_TARGET
- See Also:
- Constant Field Values
-
SVG_TARGET
static final String SVG_TARGET
- See Also:
- Constant Field Values
-
PDF_TARGET
static final String PDF_TARGET
- See Also:
- Constant Field Values
-
-