类 ChartWindArrow


  • public class ChartWindArrow
    extends java.lang.Object
    作者:
    Yaqiang Wang
    • 构造器详细资料

      • ChartWindArrow

        public ChartWindArrow()
        Constructor
    • 方法详细资料

      • getWindArrow

        public WindArrow getWindArrow()
        Get wind arrow
        返回:
        Wind arrow
      • getArrowBreak

        public ArrowBreak getArrowBreak()
        Get arrow break
        返回:
        Arrow break
      • setArrowBreak

        public void setArrowBreak​(ArrowBreak value)
        Set arrow break
        参数:
        value - Arrow break
      • getLength

        public float getLength()
        Get length
        返回:
        Length
      • setLength

        public void setLength​(float value)
        Set length
        参数:
        value - Length
      • getAngle

        public double getAngle()
        Get angle
        返回:
        Angle
      • setAngle

        public void setAngle​(double value)
        Set angle
        参数:
        value - Angle
      • getLayer

        public java.lang.Object getLayer()
        Get layer
        返回:
        Layer
      • setLayer

        public void setLayer​(java.lang.Object value)
        Set layer
        参数:
        value - Layer
      • getFont

        public java.awt.Font getFont()
        Get font
        返回:
        Font
      • setFont

        public void setFont​(java.awt.Font value)
        Set font
        参数:
        value - Font
      • getLabelColor

        public java.awt.Color getLabelColor()
        Get label color
        返回:
        Label color
      • setLabelColor

        public void setLabelColor​(java.awt.Color value)
        Set label color
        参数:
        value - Label color
      • getLabelSep

        public int getLabelSep()
        Get the distance between arrow and label
        返回:
        Distance between arrow and label
      • setLabelSep

        public void setLabelSep​(int value)
        Set the distance between arrow and label
        参数:
        value - Distance between arrow and label
      • getX

        public float getX()
        Get x
        返回:
        X
      • setX

        public void setX​(float value)
        Set x
        参数:
        value - X
      • getY

        public float getY()
        Get y
        返回:
        Y
      • setY

        public void setY​(float value)
        Set y
        参数:
        value - Y
      • getLabel

        public java.lang.String getLabel()
        Get label
        返回:
        Label
      • setLabel

        public void setLabel​(java.lang.String value)
        Set label
        参数:
        value - Label
      • getBackground

        public java.awt.Color getBackground()
        Get background color
        返回:
        Background color
      • setBackground

        public void setBackground​(java.awt.Color value)
        Set background color
        参数:
        value - Background color
      • isFill

        public boolean isFill()
        Get if is fill background
        返回:
        Boolean
      • setFill

        public void setFill​(boolean value)
        Set fill background or not
        参数:
        value - Boolean
      • isDrawNeatline

        public boolean isDrawNeatline()
        Get draw neatline or not
        返回:
        Boolean
      • setDrawNeatline

        public void setDrawNeatline​(boolean value)
        Set draw neatline or not
        参数:
        value - Boolean
      • getNeatlineColor

        public java.awt.Color getNeatlineColor()
        Get neatline color
        返回:
        Neatline color
      • setNeatlineColor

        public void setNeatlineColor​(java.awt.Color value)
        Set neatline color
        参数:
        value - Neatline color
      • getNeatlineSize

        public float getNeatlineSize()
        Get neatline size
        返回:
        Neatline size
      • setNeatlineSize

        public void setNeatlineSize​(float value)
        Set neatline size
        参数:
        value - Neatline size
      • draw

        public void draw​(java.awt.Graphics2D g,
                         float x,
                         float y)
        Draw text
        参数:
        g - Graphics2D
        x - X
        y - Y