Documentation of 'org.jhotdraw.draw.locator.RelativeDecoratorLocator' Java class
RelativeDecoratorLocator
org.jhotdraw.draw.locator

Class RelativeDecoratorLocator

    • Constructor Detail

      • RelativeDecoratorLocator

        public RelativeDecoratorLocator()
      • RelativeDecoratorLocator

        public RelativeDecoratorLocator(double relativeX,
                                        double relativeY)
        Creates a new instance.
      • RelativeDecoratorLocator

        public RelativeDecoratorLocator(double relativeX,
                                        double relativeY,
                                        boolean isQuadratic)
    • Method Detail

      • locate

        public java.awt.geom.Point2D.Double locate(Figure owner)
        Description copied from interface: Locator
        Locates a position on the provided figure.
        Specified by:
        locate in interface Locator
        Overrides:
        locate in class RelativeLocator
        Returns:
        a point on the figure.
      • east

        public static Locator east()
      • north

        public static Locator north()
        North.
      • west

        public static Locator west()
        West.
      • northEast

        public static Locator northEast()
        North east.
      • northWest

        public static Locator northWest()
        North west.
      • south

        public static Locator south()
        South.
      • southEast

        public static Locator southEast()
        South east.
      • southWest

        public static Locator southWest()
        South west.
      • center

        public static Locator center()
        Center.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.