Class GlyphCursor

  • Direct Known Subclasses:
    PathGlyphCursor

    class GlyphCursor
    extends java.lang.Object
    • Field Detail

      • 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
                            AbstractGlyphRun.Metrics metrics)
      • GlyphCursor

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

      • setAdvancement

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

        @NotNull
        java.awt.geom.Point2D.Float currentLocation​(@NotNull
                                                    @NotNull MeasureContext measure)
      • advance

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