All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.standard.CenterSlot

CH.ifa.draw.standard.AbstractSlot
   |
   +----CH.ifa.draw.standard.CenterSlot

class CenterSlot
extends AbstractSlot
A locator for positioning the located figure's centroid on a line perpendicular to a segment of a connection and intersecting the segment at half way. The figure is placed as close to the segment as possible either above or below (left or right looking from the first point of the segment) so that the display box of the figure and the segment line do not intersect. A margin of 3 points is kept, however.

This class is not public and therefore cannot be used outside this package.


All Packages  Class Hierarchy  This Package  Previous  Next  Index