Uses of Class
org.baseagent.ui.GridCanvasContext
-
Uses of GridCanvasContext in org.baseagent.ui
Modifier and TypeMethodDescriptionvoid
Drawable.draw
(GridCanvasContext gcc) Draw component to the canvas.void
DrawableAgent.draw
(GridCanvasContext gcc) default void
GridCellRenderer.draw
(GridCanvasContext gcc, GridLayer layer, double canvasWidth, double canvasHeight) void
GridLayerRenderer.draw
(GridCanvasContext gcc, GridLayer layer, double canvasWidth, double canvasHeight) void
GridNetworkRenderer.draw
(GridCanvasContext gcc, GridLayer layer, double canvasWidth, double canvasHeight) void
Toast.draw
(GridCanvasContext gcc) default void
Drawable.drawAfter
(GridCanvasContext gcc) Draw to the canvas *after* drawing the agents or beacons or other drawables.abstract void
GridNetworkRenderer.drawBackground
(GridCanvasContext gcc, double canvasWidth, double canvasHeight) default void
Drawable.drawBefore
(GridCanvasContext gcc) Draw to the canvas *before* drawing the agents or beacons or other drawables.void
GridCellRenderer.drawCell
(GridCanvasContext gcc, GridLayer layer, Object value, double xInPixels, double yInPixels, double widthInPixels, double heightInPixels) abstract void
GridNetworkRenderer.drawEdge
(GridCanvasContext gcc, Edge<?, ?> edge) abstract void
GridNetworkRenderer.drawNode
(GridCanvasContext gcc, Node<?> node) -
Uses of GridCanvasContext in org.baseagent.ui.defaults
Modifier and TypeMethodDescriptionvoid
ConnectGridPositionsCustomDrawable.draw
(GridCanvasContext gcc) static void
VisualizationLibrary.drawArrow
(GridCanvasContext gcc, double ax, double ay, double bx, double by, javafx.scene.paint.Color fill, javafx.scene.paint.Color stroke, int thickness, boolean drawPointAtOrigin, boolean drawPointAtDestination) static void
VisualizationLibrary.drawArrow
(GridCanvasContext gcc, HasFineGridPosition a, HasFineGridPosition b, javafx.scene.paint.Color fill, javafx.scene.paint.Color stroke, int thickness, boolean drawPointAtOrigin, boolean drawPointAtDestination) static void
VisualizationLibrary.drawArrow
(GridCanvasContext gcc, HasGridPosition a, HasGridPosition b, javafx.scene.paint.Color fill, javafx.scene.paint.Color stroke, int thickness, boolean drawPointAtOrigin, boolean drawPointAtDestination) void
ColorFunctionGridCellRenderer.drawCell
(GridCanvasContext gcc, GridLayer layer, Object object, double xInPixels, double yInPixels, double widthInPixels, double heightInPixels) void
ColorGridCellRenderer.drawCell
(GridCanvasContext gcc, GridLayer layer, Object object, double xInPixels, double yInPixels, double widthInPixels, double heightInPixels) void
GradientGridCellRenderer.drawCell
(GridCanvasContext gcc, GridLayer layer, Object value, double xInPixels, double yInPixels, double widthInPixels, double heightInPixels) static void
VisualizationLibrary.drawCircleForCell
(GridCanvasContext gcc, int cellX, int cellY, double magnifier, javafx.scene.paint.Color stroke) static void
VisualizationLibrary.drawCircleForCell
(GridCanvasContext gcc, int cellX, int cellY, javafx.scene.paint.Color stroke) static void
VisualizationLibrary.fillCircleForCell
(GridCanvasContext gcc, int cellX, int cellY, double magnifier, javafx.scene.paint.Color stroke, javafx.scene.paint.Color fill, double margin) static void
VisualizationLibrary.fillCircleForCell
(GridCanvasContext gcc, int cellX, int cellY, javafx.scene.paint.Color stroke, javafx.scene.paint.Color fill, double margin) static void
VisualizationLibrary.fillRectForCell
(GridCanvasContext gcc, int cellX, int cellY, double magnifier, javafx.scene.paint.Color stroke, javafx.scene.paint.Color fill, double margin) static void
VisualizationLibrary.fillRectForCell
(GridCanvasContext gcc, int cellX, int cellY, javafx.scene.paint.Color stroke, javafx.scene.paint.Color fill, double margin) static int
VisualizationLibrary.getCellXForGraphicX
(GridCanvasContext gcc, double graphicX) static int
VisualizationLibrary.getCellYForGraphicY
(GridCanvasContext gcc, double graphicY) static int
VisualizationLibrary.getGraphicXForCellX
(GridCanvasContext gcc, int cellX) static int
VisualizationLibrary.getGraphicYForCellY
(GridCanvasContext gcc, int cellY) static void
NiceVisualizationLibrary.glowCircleForCell
(GridCanvasContext gcc, int cellX, int cellY, javafx.scene.paint.Color stroke, javafx.scene.paint.Color fill, javafx.scene.paint.Color startColor, double margin)