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

Interface LineDecoration

  • All Superinterfaces:
    java.lang.Cloneable, java.io.Serializable, Storable
    All Known Implementing Classes:
    AbstractLineDecoration, ArrowTip


    public interface LineDecoration
    extends Storable, java.lang.Cloneable, java.io.Serializable
    Decorate the start or end point of a line or poly line figure. LineDecoration is the base class for the different line decorations.
    See Also:
    PolyLineFigure
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void draw(java.awt.Graphics g, int x1, int y1, int x2, int y2)
      Draws the decoration in the direction specified by the two points.
    • Method Detail

      • draw

        void draw(java.awt.Graphics g,
                  int x1,
                  int y1,
                  int x2,
                  int y2)
        Draws the decoration in the direction specified by the two points.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.