Class JxnAbstractPainter

    • Constructor Detail

      • JxnAbstractPainter

        protected JxnAbstractPainter()
    • Method Detail

      • plot

        public static JxnBasicPlotFrame plot​(JxnAbstractPainter ap)
        Creates a PlotFrame to display ap.
      • plot90

        public static JxnBasicPlotFrame plot90​(JxnAbstractPainter ap)
        TODO: wozu? Creates a PlotFrame to display ap.
      • setColor

        public KmgXYPainter setColor​(Color color)
        Sets the color for this object.
        Returns:
        this
      • setLineWidthDefault

        public static float setLineWidthDefault​(float lineWidth)
        Sets the default line width.
        Returns:
        the old default
      • setLineWidth

        public KmgXYPainter setLineWidth​(float lineWidth)
        Sets the line width (if appropriate) for this object. Note: If setStroke(java.awt.Stroke) is used setLineWidth is ignored.
        Returns:
        this
      • applyStroke

        protected Stroke applyStroke​(Graphics g)
        To be called from the paint methods.
      • applyStroke

        protected Stroke applyStroke​(Graphics g,
                                     float fxy)
      • setIgnoreBounds

        public KmgXYPainter setIgnoreBounds()
        Do not consider this graphical object for scaling.
        Returns:
        this
      • setIgnoreBounds

        public KmgXYPainter setIgnoreBounds​(boolean ignore)
        Determines if to consider this graphical object for scaling.
        Returns:
        this
      • getKmgDoubleBounds

        public KmgDoubleBounds getKmgDoubleBounds()
        Description copied from interface: KmgXYPainter
        Returns the bounds of the graphical object (called internally).
        Specified by:
        getKmgDoubleBounds in interface KmgXYPainter