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
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Nested classes/interfaces inherited from interface com.github.weisj.jsvg.nodes.text.TextSegment
TextSegment.RenderableSegment
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendTextShape
(@NotNull GlyphCursor cursor, @NotNull Path2D textShape, @NotNull RenderContext context) @NotNull TextMetrics
computeTextMetrics
(@NotNull RenderContext context, @NotNull TextSegment.RenderableSegment.UseTextLengthForCalculation flag) boolean
void
prepareSegmentForRendering
(@NotNull GlyphCursor cursor, @NotNull RenderContext context) void
renderSegmentWithoutLayout
(@NotNull GlyphCursor cursor, @NotNull RenderContext context, @NotNull Output output)
-
Method Details
-
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 Path2D textShape, @NotNull @NotNull RenderContext context)
-