de.cau.cs.kieler.klay.layered.graph
Class LShape
java.lang.Object
de.cau.cs.kieler.core.properties.MapPropertyHolder
de.cau.cs.kieler.klay.layered.graph.LGraphElement
de.cau.cs.kieler.klay.layered.graph.LShape
- All Implemented Interfaces:
- IPropertyHolder, Comparable<LGraphElement>
- Direct Known Subclasses:
- LLabel, LNode, LPort
public abstract class LShape
- extends LGraphElement
Abstract superclass for LGraphElement
s that can have a position and a size.
- Rating

Fields inherited from class de.cau.cs.kieler.klay.layered.graph.LGraphElement |
id |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LShape
public LShape()
getPosition
public KVector getPosition()
- Returns the element's current position. Unless noted otherwise, this is the coordinate
of the element's upper left corner. May be modified.
- Returns:
- the position
getSize
public KVector getSize()
- Returns the element's current size. May be modified.
- Returns:
- the size