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

Class FontSizeLocator

  • All Implemented Interfaces:
    Locator


    public class FontSizeLocator
    extends java.lang.Object
    implements Locator
    FontSizeLocator is used by FontSizeHandle to locate its position on the drawing.
    • Constructor Summary

      Constructors 
      Constructor and Description
      FontSizeLocator()
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.awt.geom.Point2D.Double locate(Figure owner)
      Locates a position on the provided figure.
      java.awt.geom.Point2D.Double locate(Figure owner, Figure dependent)
      Locates a position on the provided figure relative to the dependent figure.
      • Methods inherited from class java.lang.Object

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

      • FontSizeLocator

        public FontSizeLocator()
        Creates a new instance.
    • Method Detail

      • locate

        public java.awt.geom.Point2D.Double locate(Figure owner)
        Locates a position on the provided figure.
        Specified by:
        locate in interface Locator
        Returns:
        a Point2D.Double on the figure.
      • locate

        public java.awt.geom.Point2D.Double locate(Figure owner,
                                                   Figure dependent)
        Description copied from interface: Locator
        Locates a position on the provided figure relative to the dependent figure.
        Specified by:
        locate in interface Locator
        Returns:
        a point on the figure.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.