## Uses of Class
org.jfree.chart.renderer.xy.XYItemRendererState

- Packages that use XYItemRendererState
  Package | Description
  --- | ---
  org.jfree.chart.renderer.xy |

- - ### Uses of XYItemRendererState in org.jfree.chart.renderer.xy

    Subclasses of XYItemRendererState in org.jfree.chart.renderer.xy
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `StandardXYItemRenderer.State` Records the state for the renderer.
    `static class` | `XYLineAndShapeRenderer.State` Records the state for the renderer.

    Methods in org.jfree.chart.renderer.xy that return XYItemRendererState
    Modifier and Type | Method and Description
    --- | ---
    `XYItemRendererState` | XYItemRenderer.`initialise(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, XYPlot plot, XYDataset dataset, PlotRenderingInfo info)` Initialises the renderer then returns the number of 'passes' through the data that the renderer will require (usually just one).
    `XYItemRendererState` | XYLineAndShapeRenderer.`initialise(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)` Initialises the renderer.
    `XYItemRendererState` | AbstractXYItemRenderer.`initialise(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)` Initialises the renderer and returns a state object that should be passed to all subsequent calls to the drawItem() method.
    `XYItemRendererState` | StandardXYItemRenderer.`initialise(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)` Initialises the renderer.

    Methods in org.jfree.chart.renderer.xy with parameters of type XYItemRendererState
    Modifier and Type | Method and Description
    --- | ---
    `void` | XYItemRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Called for each item to be plotted.
    `void` | XYLineAndShapeRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
    `void` | XYBlockRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the block representing the specified item.
    `void` | StandardXYItemRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
    `protected void` | XYLineAndShapeRenderer.`drawPrimaryLine(XYItemRendererState state, java.awt.Graphics2D g2, XYPlot plot, XYDataset dataset, int pass, int series, int item, ValueAxis domainAxis, ValueAxis rangeAxis, java.awt.geom.Rectangle2D dataArea)` Draws the item (first pass).
    `protected void` | XYLineAndShapeRenderer.`drawPrimaryLineAsPath(XYItemRendererState state, java.awt.Graphics2D g2, XYPlot plot, XYDataset dataset, int pass, int series, int item, ValueAxis domainAxis, ValueAxis rangeAxis, java.awt.geom.Rectangle2D dataArea)` Draws the item (first pass).