Class mxCurveLabelShape.LabelGlyphCache

java.lang.Object
com.mxgraph.shape.mxCurveLabelShape.LabelGlyphCache
Enclosing class:
mxCurveLabelShape

public class mxCurveLabelShape.LabelGlyphCache extends Object
Utility class to describe the characteristics of each glyph of a branch branch label. Each instance represents one glyph
  • Field Details

    • labelGlyphBounds

      public mxRectangle labelGlyphBounds
      Cache of the bounds of the individual element of the label of this edge. Note that these are the unrotated values used to determine the width of each glyph.
    • drawingBounds

      public mxRectangle drawingBounds
      The un-rotated rectangle that just bounds this character
    • glyph

      public String glyph
      The glyph being drawn
    • glyphGeometry

      public mxLine glyphGeometry
      A line parallel to the curve segment at which the element is to be drawn
    • glyphShape

      public Shape glyphShape
      The cached shape of the glyph
    • visible

      public boolean visible
      Whether or not the glyph should be drawn
  • Constructor Details

    • LabelGlyphCache

      public LabelGlyphCache()