Class GlyphAdvancement

java.lang.Object
com.github.weisj.jsvg.nodes.text.GlyphAdvancement

@Immutable final class GlyphAdvancement extends Object
  • Field Details

    • spacingAdjustment

      private final float spacingAdjustment
    • absoluteSpacingAdjustment

      private final float absoluteSpacingAdjustment
    • glyphAdjustment

      private final float glyphAdjustment
    • needsLastSpacing

      private final boolean needsLastSpacing
  • Constructor Details

    • GlyphAdvancement

      private GlyphAdvancement()
    • GlyphAdvancement

      GlyphAdvancement(@NotNull @NotNull TextMetrics textMetrics, float desiredLength, @NotNull @NotNull LengthAdjust lengthAdjust)
  • Method Details

    • defaultAdvancement

      static GlyphAdvancement defaultAdvancement()
    • maxLookBehind

      public float maxLookBehind()
    • spacingAdvancement

      float spacingAdvancement(float letterSpacing)
    • glyphAdvancement

      float glyphAdvancement(@NotNull @NotNull Glyph glyph)
    • shouldSkipLastSpacing

      boolean shouldSkipLastSpacing()
    • glyphTransform

      @NotNull @NotNull AffineTransform glyphTransform(@NotNull @NotNull AffineTransform transform)
    • toString

      public String toString()
      Overrides:
      toString in class Object