Package | Description |
---|---|
org.gephi.preview.api |
API for Preview rendering.
|
org.gephi.preview.spi |
Interfaces for creating new renderers, item builders and render targets.
|
Modifier and Type | Method and Description |
---|---|
Item |
PreviewModel.getItem(String type,
Object source)
Returns the item attached to
source and with the type
type . |
Item[] |
PreviewModel.getItems(Object source)
Returns all items attached to
source . |
Item[] |
PreviewModel.getItems(String type)
Returns all items with
type as type. |
Modifier and Type | Method and Description |
---|---|
Item[] |
ItemBuilder.getItems(Graph graph)
Build items from the
graph . |
Modifier and Type | Method and Description |
---|---|
CanvasSize |
Renderer.getCanvasSize(Item item,
PreviewProperties properties)
Compute the canvas size of the item to render.
|
boolean |
Renderer.isRendererForitem(Item item,
PreviewProperties properties)
Based on
properties , determine whether this renderer is
valid to render Item . |
void |
Renderer.render(Item item,
RenderTarget target,
PreviewProperties properties)
Render
item to target using the global properties
and item data. |
Copyright © 2007–2017 Gephi Consortium. All rights reserved.