Documentation of 'CH.ifa.draw.figures.AbstractLineDecoration' Java class
AbstractLineDecoration
CH.ifa.draw.figures

Class AbstractLineDecoration

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method and Description
      void draw(java.awt.Graphics g, int x1, int y1, int x2, int y2)
      Draws the arrow tip in the direction specified by the given two points..
      java.awt.Color getBorderColor()
      Returns color of arrow's border
      java.awt.Color getFillColor()
      Returns color with which arrow is filled
      abstract java.awt.Polygon outline(int x1, int y1, int x2, int y2)
      Hook method to calculates the outline of an arrow tip.
      void read(StorableInput dr)
      Reads the arrow tip from a StorableInput.
      void setBorderColor(java.awt.Color borderColor)
      Sets color of arrow's border
      void setFillColor(java.awt.Color fillColor)
      Sets color with which arrow is filled
      void write(StorableOutput dw)
      Stores the arrow tip to a StorableOutput.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractLineDecoration

        public AbstractLineDecoration()
    • Method Detail

      • draw

        public void draw(java.awt.Graphics g,
                         int x1,
                         int y1,
                         int x2,
                         int y2)
        Draws the arrow tip in the direction specified by the given two points.. (template method)
        Specified by:
        draw in interface LineDecoration
      • outline

        public abstract java.awt.Polygon outline(int x1,
                                                 int y1,
                                                 int x2,
                                                 int y2)
        Hook method to calculates the outline of an arrow tip.
      • read

        public void read(StorableInput dr)
                  throws java.io.IOException
        Reads the arrow tip from a StorableInput.
        Specified by:
        read in interface Storable
        Throws:
        java.io.IOException
      • setFillColor

        public void setFillColor(java.awt.Color fillColor)
        Sets color with which arrow is filled
      • getFillColor

        public java.awt.Color getFillColor()
        Returns color with which arrow is filled
      • setBorderColor

        public void setBorderColor(java.awt.Color borderColor)
        Sets color of arrow's border
      • getBorderColor

        public java.awt.Color getBorderColor()
        Returns color of arrow's border

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.