Interface Anchored

All Known Implementing Classes:
MeasureStartTimeSlice, MusicSymbol, Staff, StaffSystem, TimeSlice

public interface Anchored

The Anchored interface is for music elements such as Staff, Notehead, etc. whose position is relative to an anchor.

Method Summary
 FinalPoint getScreenHotspot()
          Get the hotspot for this object in screen coordinates.

Method Detail


public FinalPoint getScreenHotspot()
Get the hotspot for this object in screen coordinates.

The position of the hotspot in screen coordinates from top-left of screen (not relative to an anchor). This is a FinalPoint and not a Point so that the class can give access to its screen hotspot object knowing that the caller will not modify it. This is more efficient that returning a new Point every time getScreenHotspot() is called.
See Also: