Class GlyphCursor

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

class GlyphCursor extends Object
  • Field Details

    • completeGlyphRunBounds

      protected final Rectangle2D completeGlyphRunBounds
    • 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

    • GlyphCursor

      GlyphCursor(float x, float y, @NotNull @NotNull AffineTransform transform)
    • GlyphCursor

      private GlyphCursor(float x, float y, @NotNull @NotNull AffineTransform transform, @NotNull @NotNull Rectangle2D glyphBounds)
    • GlyphCursor

      GlyphCursor(@NotNull @NotNull GlyphCursor c)
  • Method Details

    • derive

      GlyphCursor derive()
    • updateFrom

      void updateFrom(GlyphCursor local)
    • setAdvancement

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

      public GlyphAdvancement advancement()
    • advance

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

      void advanceSpacing(float letterSpacing)
    • nextX

      protected float nextX(@NotNull @NotNull MeasureContext measure)
    • nextDeltaX

      protected float nextDeltaX(@NotNull @NotNull MeasureContext measure)
    • nextY

      protected float nextY(@NotNull @NotNull MeasureContext measure)
    • nextDeltaY

      protected float nextDeltaY(@NotNull @NotNull MeasureContext measure)
    • nextRotation

      protected double nextRotation()