public interface StatePolicyPainter
Modifier and Type | Method and Description |
---|---|
void |
paintStatePolicy(java.awt.Graphics2D g2,
State s,
Policy policy,
float cWidth,
float cHeight)
Paints a representation of the given policy for a specific state to a 2D graphics context.
|
void paintStatePolicy(java.awt.Graphics2D g2, State s, Policy policy, float cWidth, float cHeight)
g2
- graphics context to which the object should be painteds
- the state of the object to be paintedpolicy
- the policy that can be used on state scWidth
- width of the canvas sizecHeight
- height of the canvas size