Class AirdLayout.Box

java.lang.Object
be.kuleuven.cs.distrinet.sparta.io.diagram.AirdLayout.Box
Enclosing class:
AirdLayout

public static final class AirdLayout.Box extends Object
Absolute bounds of a diagram node, in GMF coordinates (origin top-left, y downwards).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final double
     
    final double
     
    final double
     
    final double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Box(double x, double y, double width, double height)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
     
    double
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • x

      public final double x
    • y

      public final double y
    • width

      public final double width
    • height

      public final double height
  • Constructor Details

    • Box

      public Box(double x, double y, double width, double height)
  • Method Details

    • centerX

      public double centerX()
    • centerY

      public double centerY()