Class SyntaxGraph.SizeInfo

java.lang.Object
eu.bandm.tools.d2d2.base.SyntaxGraph.SizeInfo
Enclosing class:
SyntaxGraph

public static class SyntaxGraph.SizeInfo extends Object
Represents the result of a layout sub-process as a TeX-like box model with three length values. These values are used by the combinator code for calculating the shift values.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final int
    Height in device oordinates ("pixel") of the area of the symbol above its nominal entry height (as given by SyntaxGraph.y).
    (package private) final int
    Depth in device oordinates ("pixel") of the area of the symbol below its nominal entry height (as given by SyntaxGraph.y).
    (package private) final int
    Width in device oordinates ("pixel") of the area of the symbol.
  • Constructor Summary

    Constructors
    Constructor
    Description
    SizeInfo(int above, int below, int width)
    Only constructor
  • Method Summary

    Methods inherited from class java.lang.Object

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

    • above

      final int above
      Height in device oordinates ("pixel") of the area of the symbol above its nominal entry height (as given by SyntaxGraph.y).
    • below

      final int below
      Depth in device oordinates ("pixel") of the area of the symbol below its nominal entry height (as given by SyntaxGraph.y).
    • width

      final int width
      Width in device oordinates ("pixel") of the area of the symbol.
  • Constructor Details

    • SizeInfo

      SizeInfo(int above, int below, int width)
      Only constructor