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

Class PolyLineHandle

  • All Implemented Interfaces:
    Handle


    public class PolyLineHandle
    extends LocatorHandle
    A handle for a node on the polyline.
    • Constructor Detail

      • PolyLineHandle

        public PolyLineHandle(PolyLineFigure owner,
                              Locator l,
                              int index)
        Constructs a poly line handle.
        Parameters:
        owner - the owning polyline figure.
    • Method Detail

      • invokeStart

        public void invokeStart(int x,
                                int y,
                                DrawingView view)
        Specified by:
        invokeStart in interface Handle
        Overrides:
        invokeStart in class AbstractHandle
        Parameters:
        x - the x position where the interaction started
        y - the y position where the interaction started
        view - the handles container
      • invokeStep

        public void invokeStep(int x,
                               int y,
                               int anchorX,
                               int anchorY,
                               DrawingView view)
        Description copied from class: AbstractHandle
        Tracks a step of the interaction.
        Specified by:
        invokeStep in interface Handle
        Overrides:
        invokeStep in class AbstractHandle
        Parameters:
        x - the current x position
        y - the current y position
        anchorX - the x position where the interaction started
        anchorY - the y position where the interaction started

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.