Package com.github.weisj.jsvg.nodes.text
Interface TextSegment.RenderableSegment
-
- All Superinterfaces:
TextSegment
- All Known Implementing Classes:
LinearTextContainer
,Text
,TextContainer
,TextPath
,TextSpan
- Enclosing interface:
- TextSegment
public static interface TextSegment.RenderableSegment extends TextSegment
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TextSegment.RenderableSegment.UseTextLengthForCalculation
-
Nested classes/interfaces inherited from interface com.github.weisj.jsvg.nodes.text.TextSegment
TextSegment.RenderableSegment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
appendTextShape(@NotNull GlyphCursor cursor, @NotNull java.awt.geom.Path2D textShape, @NotNull RenderContext context)
@NotNull TextMetrics
computeTextMetrics(@NotNull RenderContext context, @NotNull TextSegment.RenderableSegment.UseTextLengthForCalculation flag)
boolean
hasFixedLength()
void
prepareSegmentForRendering(@NotNull GlyphCursor cursor, @NotNull RenderContext context)
void
renderSegmentWithoutLayout(@NotNull GlyphCursor cursor, @NotNull RenderContext context, @NotNull Output output)
-
-
-
Method Detail
-
prepareSegmentForRendering
void prepareSegmentForRendering(@NotNull @NotNull GlyphCursor cursor, @NotNull @NotNull RenderContext context)
-
renderSegmentWithoutLayout
void renderSegmentWithoutLayout(@NotNull @NotNull GlyphCursor cursor, @NotNull @NotNull RenderContext context, @NotNull @NotNull Output output)
-
hasFixedLength
boolean hasFixedLength()
-
computeTextMetrics
@NotNull @NotNull TextMetrics computeTextMetrics(@NotNull @NotNull RenderContext context, @NotNull @NotNull TextSegment.RenderableSegment.UseTextLengthForCalculation flag)
-
appendTextShape
void appendTextShape(@NotNull @NotNull GlyphCursor cursor, @NotNull @NotNull java.awt.geom.Path2D textShape, @NotNull @NotNull RenderContext context)
-
-