Class GlyphCursor

java.lang.Object
com.github.weisj.jsvg.nodes.text.GlyphCursor
Direct Known Subclasses:
PathGlyphCursor

class GlyphCursor extends Object
  • Field Details

    • completeGlyphRunMetrics

      @NotNull public final AbstractGlyphRun.Metrics completeGlyphRunMetrics
    • advancement

      @NotNull protected @NotNull GlyphAdvancement advancement
    • x

      protected float x
    • y

      protected float y
    • glyphOffset

      protected int glyphOffset
    • transform

      protected final AffineTransform transform
    • xLocations

      protected Length[] xLocations
    • xOff

      protected int xOff
    • xDeltas

      protected Length[] xDeltas
    • dxOff

      protected int dxOff
    • yLocations

      protected Length[] yLocations
    • yOff

      protected int yOff
    • yDeltas

      protected Length[] yDeltas
    • dyOff

      protected int dyOff
    • rotations

      protected float[] rotations
    • rotOff

      protected int rotOff
  • Constructor Details

  • Method Details

    • derive

      GlyphCursor derive()
    • updateFrom

      void updateFrom(GlyphCursor local)
    • setAdvancement

      public void setAdvancement(@NotNull @NotNull GlyphAdvancement advancement)
    • advancement

      public GlyphAdvancement advancement()
    • currentLocation

      @NotNull Point2D.Float currentLocation(@NotNull @NotNull MeasureContext measure)
    • advance

      @Nullable @Nullable AffineTransform advance(@NotNull @NotNull MeasureContext measure, @NotNull @NotNull Glyph glyph)
    • advanceSpacing

      void advanceSpacing(float letterSpacing)
    • currentGlyphHasXOverride

      private boolean currentGlyphHasXOverride()
    • currentX

      private float currentX(@NotNull @NotNull MeasureContext measure)
    • currentXDelta

      private float currentXDelta(@NotNull @NotNull MeasureContext measure)
    • currentY

      private float currentY(@NotNull @NotNull MeasureContext measure)
    • currentYDelta

      private float currentYDelta(@NotNull @NotNull MeasureContext measure)
    • nextX

      private float nextX(@NotNull @NotNull MeasureContext measure)
    • currentGlyphHasDeltaXOverride

      private boolean currentGlyphHasDeltaXOverride()
    • nextDeltaX

      protected final float nextDeltaX(@NotNull @NotNull MeasureContext measure)
    • currentGlyphHasYOverride

      private boolean currentGlyphHasYOverride()
    • nextY

      private float nextY(@NotNull @NotNull MeasureContext measure)
    • currentGlyphHasDeltaYOverride

      private boolean currentGlyphHasDeltaYOverride()
    • nextDeltaY

      protected final float nextDeltaY(@NotNull @NotNull MeasureContext measure)
    • currentGlyphHasRotationOverride

      private boolean currentGlyphHasRotationOverride()
    • nextRotation

      private double nextRotation()
    • isCurrentGlyphAutoLayout

      boolean isCurrentGlyphAutoLayout()
    • shouldRenderCurrentGlyph

      boolean shouldRenderCurrentGlyph()