Documentation of 'de.erichseifert.gral.plots.points.DefaultPointRenderer2D' Java class
DefaultPointRenderer2D
de.erichseifert.gral.plots.points

Class DefaultPointRenderer2D

    • Constructor Detail

      • DefaultPointRenderer2D

        public DefaultPointRenderer2D()
    • Method Detail

      • getPoint

        public Drawable getPoint(PointData data,
                                 java.awt.Shape shape)
        Description copied from interface: PointRenderer
        Returns the graphical representation to be drawn for the specified data value.
        Parameters:
        data - Information on axes, renderers, and values.
        shape - Outline that describes the point's shape.
        Returns:
        Component that can be used to draw the point.
      • getPointShape

        public java.awt.Shape getPointShape(PointData data)
        Returns a Shape instance that can be used for further calculations.
        Parameters:
        data - Information on axes, renderers, and values.
        Returns:
        Outline that describes the point's shape.
      • getValue

        public Drawable getValue(PointData data,
                                 java.awt.Shape shape)
        Returns a graphical representation of the value label to be drawn for the specified data value.
        Parameters:
        data - Information on axes, renderers, and values.
        shape - Outline that describes the bounds for the value label.
        Returns:
        Component that can be used to draw the value label.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.