Class GlyphCursor

  • Direct Known Subclasses:
    PathGlyphCursor

    class GlyphCursor
    extends java.lang.Object
    • Field Detail

      • completeGlyphRunBounds

        protected final java.awt.geom.Rectangle2D completeGlyphRunBounds
      • x

        protected float x
      • y

        protected float y
      • glyphOffset

        protected int glyphOffset
      • transform

        protected final java.awt.geom.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 Detail

      • GlyphCursor

        GlyphCursor​(float x,
                    float y,
                    @NotNull
                    @NotNull java.awt.geom.AffineTransform transform)
      • GlyphCursor

        private GlyphCursor​(float x,
                            float y,
                            @NotNull
                            @NotNull java.awt.geom.AffineTransform transform,
                            @NotNull
                            @NotNull java.awt.geom.Rectangle2D glyphBounds)
      • GlyphCursor

        GlyphCursor​(@NotNull
                    @NotNull GlyphCursor c)
    • Method Detail

      • setAdvancement

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

        @Nullable
        @Nullable java.awt.geom.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()