java.lang.Object
com.github.weisj.jsvg.nodes.AbstractSVGNode
com.github.weisj.jsvg.nodes.container.BaseContainerNode<TextSegment>
com.github.weisj.jsvg.nodes.text.TextContainer
com.github.weisj.jsvg.nodes.text.LinearTextContainer
- All Implemented Interfaces:
Container<TextSegment>
,HasContext
,HasContext.ByDelegate
,HasFillRule
,HasFontContext
,HasFontRenderContext
,HasPaintContext
,HasShape
,HasVectorEffects
,Renderable
,SVGNode
,TextSegment
,TextSegment.RenderableSegment
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.github.weisj.jsvg.nodes.prototype.HasContext
HasContext.ByDelegate
Nested classes/interfaces inherited from interface com.github.weisj.jsvg.nodes.prototype.HasShape
HasShape.Box
Nested classes/interfaces inherited from interface com.github.weisj.jsvg.nodes.text.TextSegment
TextSegment.RenderableSegment
Nested classes/interfaces inherited from interface com.github.weisj.jsvg.nodes.text.TextSegment.RenderableSegment
TextSegment.RenderableSegment.UseTextLengthForCalculation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Length[]
protected Length[]
protected float[]
protected Length[]
protected Length[]
Fields inherited from class com.github.weisj.jsvg.nodes.text.TextContainer
fontSpec, lengthAdjust, textLength
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
build
(@NotNull AttributeNode attributeNode) protected void
cleanUpLocalCursor
(@NotNull GlyphCursor current, @NotNull GlyphCursor local) private @NotNull GlyphCursor
protected GlyphCursor
createLocalCursor
(@NotNull RenderContext context, @NotNull GlyphCursor current) void
render
(@NotNull RenderContext context, @NotNull Output output) @NotNull Shape
untransformedElementShape
(@NotNull RenderContext context) Methods inherited from class com.github.weisj.jsvg.nodes.text.TextContainer
acceptChild, addContent, appendTextShape, children, computeTextMetrics, contextDelegate, doAdd, hasFixedLength, isVisible, prepareSegmentForRendering, renderSegment, renderSegmentWithoutLayout, untransformedElementBounds, vectorEffects
Methods inherited from class com.github.weisj.jsvg.nodes.container.BaseContainerNode
addChild, isAcceptableType
Methods inherited from class com.github.weisj.jsvg.nodes.AbstractSVGNode
id, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.github.weisj.jsvg.nodes.prototype.Container
childrenOfType
Methods inherited from interface com.github.weisj.jsvg.nodes.prototype.HasContext.ByDelegate
fillRule, fontRenderContext, fontSpec, paintContext
Methods inherited from interface com.github.weisj.jsvg.nodes.prototype.HasShape
elementBounds, elementShape
Methods inherited from interface com.github.weisj.jsvg.nodes.prototype.Renderable
parseIsVisible, requiresInstantiation, shouldEstablishChildContext
-
Field Details
-
x
-
y
-
dx
-
dy
-
rotate
protected float[] rotate
-
-
Constructor Details
-
LinearTextContainer
LinearTextContainer()
-
-
Method Details
-
build
- Specified by:
build
in interfaceSVGNode
- Overrides:
build
in classTextContainer
-
untransformedElementShape
-
render
-
createCursor
-
createLocalCursor
protected GlyphCursor createLocalCursor(@NotNull @NotNull RenderContext context, @NotNull @NotNull GlyphCursor current) - Specified by:
createLocalCursor
in classTextContainer
-
cleanUpLocalCursor
protected void cleanUpLocalCursor(@NotNull @NotNull GlyphCursor current, @NotNull @NotNull GlyphCursor local) - Specified by:
cleanUpLocalCursor
in classTextContainer
-