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,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.ByDelegateNested classes/interfaces inherited from interface com.github.weisj.jsvg.nodes.prototype.HasShape
HasShape.BoxNested classes/interfaces inherited from interface com.github.weisj.jsvg.nodes.text.TextSegment
TextSegment.RenderableSegmentNested 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 TypeMethodDescriptionvoidbuild(@NotNull AttributeNode attributeNode) protected voidcleanUpLocalCursor(@NotNull GlyphCursor current, @NotNull GlyphCursor local) protected @NotNull GlyphCursorprotected GlyphCursorcreateLocalCursor(@NotNull RenderContext context, @NotNull GlyphCursor current) protected @NotNull ShapeglyphShape(@NotNull RenderContext context) voidrender(@NotNull RenderContext context, @NotNull Output output) Methods inherited from class com.github.weisj.jsvg.nodes.text.TextContainer
acceptChild, addContent, appendTextShape, children, computeTextMetrics, contextDelegate, doAdd, forEachSegment, hasFixedLength, isVisible, prepareSegmentForRendering, renderSegment, renderSegmentWithoutLayout, segments, untransformedElementBounds, untransformedElementShape, vectorEffectsMethods inherited from class com.github.weisj.jsvg.nodes.container.BaseContainerNode
addChild, isAcceptableTypeMethods inherited from class com.github.weisj.jsvg.nodes.AbstractSVGNode
id, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.github.weisj.jsvg.nodes.prototype.Container
childrenOfTypeMethods inherited from interface com.github.weisj.jsvg.nodes.prototype.HasContext.ByDelegate
fontRenderContext, fontSpec, paintContextMethods inherited from interface com.github.weisj.jsvg.nodes.prototype.HasShape
elementBounds, elementShapeMethods inherited from interface com.github.weisj.jsvg.nodes.prototype.Renderable
parseIsVisible, requiresInstantiation, shouldEstablishChildContextMethods inherited from interface com.github.weisj.jsvg.nodes.text.TextSegment
isValid
-
Field Details
-
x
-
y
-
dx
-
dy
-
rotate
protected float[] rotate
-
-
Constructor Details
-
LinearTextContainer
LinearTextContainer()
-
-
Method Details
-
build
- Specified by:
buildin interfaceSVGNode- Overrides:
buildin classTextContainer
-
glyphShape
- Specified by:
glyphShapein classTextContainer
-
render
-
createCursor
-
createLocalCursor
protected GlyphCursor createLocalCursor(@NotNull @NotNull RenderContext context, @NotNull @NotNull GlyphCursor current) - Specified by:
createLocalCursorin classTextContainer
-
cleanUpLocalCursor
protected void cleanUpLocalCursor(@NotNull @NotNull GlyphCursor current, @NotNull @NotNull GlyphCursor local) - Specified by:
cleanUpLocalCursorin classTextContainer
-