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 |
PreviewMouseListener.mouseClicked(PreviewMouseEvent event,
PreviewProperties properties,
Workspace workspace) |
A single click event.
|
void |
PreviewMouseListener.mouseDragged(PreviewMouseEvent event,
PreviewProperties properties,
Workspace workspace) |
If your listener needs to receive drag events, you must mark the previous press event as consumed.
|
void |
PreviewMouseListener.mousePressed(PreviewMouseEvent event,
PreviewProperties properties,
Workspace workspace) |
A mouse press event.
|
void |
PreviewMouseListener.mouseReleased(PreviewMouseEvent event,
PreviewProperties properties,
Workspace workspace) |
If your listener needs to receive release events, you must mark the previous press event as consumed.
|
boolean |
Renderer.needsItemBuilder(ItemBuilder itemBuilder,
PreviewProperties properties) |
Based on the itemBuilder class and the properties ,
determine whether this renderer needs the given itemBuilder to be
executed before rendering.
|
void |
Renderer.postProcess(PreviewModel previewModel,
RenderTarget target,
PreviewProperties properties) |
This method is called after rendering all items to perform post-processing.
|
void |
Renderer.render(Item item,
RenderTarget target,
PreviewProperties properties) |
Render item to target using the global properties
and item data.
|