Class AbstractColorStrokeDrawOperation

    • Field Detail

      • m_StrokeThickness

        protected float m_StrokeThickness
        the thickness of the stroke.
      • m_AntiAliasingEnabled

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

      • AbstractColorStrokeDrawOperation

        public AbstractColorStrokeDrawOperation()
    • Method Detail

      • setStrokeThickness

        public void setStrokeThickness​(float value)
        Sets the stroke thickness to use.
        Parameters:
        value - the thickness
      • getStrokeThickness

        public float getStrokeThickness()
        Returns the current stroke thickness.
        Returns:
        the thickness
      • strokeThicknessTipText

        public String strokeThicknessTipText()
        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 AntiAliasingDrawOperation
        Parameters:
        value - if true then anti-aliasing is used
      • antiAliasingEnabledTipText

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