public class BlocksWorldVisualizer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BlocksWorldVisualizer.BlockPainter
Paints blocks as a rectangle scaled to a size necessary to be able to show all blocks on the table within the canvas width or all blocks
stacked on each other within the canvas height.
|
Modifier and Type | Method and Description |
---|---|
static StateRenderLayer |
getStateRenderLayer(int fontSize) |
static Visualizer |
getVisualizer()
Returns a 2D Visualizer canvas object to visualize
BlocksWorld states. |
static Visualizer |
getVisualizer(int fontSize)
Returns a 2D Visualizer canvas object to visualize
BlocksWorld states where the name of the block is rendered at the provided font
point size. |
public static Visualizer getVisualizer()
BlocksWorld
states.public static Visualizer getVisualizer(int fontSize)
BlocksWorld
states where the name of the block is rendered at the provided font
point size.fontSize
- the size of the font to use when rendering the name of a block object.public static StateRenderLayer getStateRenderLayer(int fontSize)