Class StraightLineOverlayPaintlet

    • Field Detail

      • m_XFactor

        protected double m_XFactor
        the factor to mulitply the x values with.
      • m_YOffset

        protected double m_YOffset
        the offset to shift the line up or down.
      • m_Color

        protected Color m_Color
        the color for the overlay.
      • m_AntiAliasingEnabled

        protected boolean m_AntiAliasingEnabled
        whether anti-aliasing is enabled.
    • Constructor Detail

      • StraightLineOverlayPaintlet

        public StraightLineOverlayPaintlet()
    • Method Detail

      • setXFactor

        public void setXFactor​(double value)
        Sets the factor to multiply the X values with to determine the inclination.
        Parameters:
        value - the factor
      • getXFactor

        public double getXFactor()
        Returns the factor to multiply the X values with to determine the inclination.
        Returns:
        the factor
      • XFactorTipText

        public String XFactorTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setYOffset

        public void setYOffset​(double value)
        Sets the offset on the Y axis.
        Parameters:
        value - the offset
      • getYOffset

        public double getYOffset()
        Returns the offset on the Y axis.
        Returns:
        the offset
      • YOffsetTipText

        public String YOffsetTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setColor

        public void setColor​(Color value)
        Set the stroke color for the paintlet.
        Parameters:
        value - color of the stroke
      • getColor

        public Color getColor()
        Get the stroke color for the paintlet.
        Returns:
        color of the stroke
      • colorTipText

        public String colorTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setAntiAliasingEnabled

        public void setAntiAliasingEnabled​(boolean value)
        Sets whether to use anti-aliasing.
        Specified by:
        setAntiAliasingEnabled in interface AntiAliasingSupporter
        Parameters:
        value - if true then anti-aliasing is used
      • isAntiAliasingEnabled

        public boolean isAntiAliasingEnabled()
        Returns whether anti-aliasing is used.
        Specified by:
        isAntiAliasingEnabled in interface AntiAliasingSupporter
        Returns:
        true if anti-aliasing is used
      • antiAliasingEnabledTipText

        public String antiAliasingEnabledTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.