Class LinearTextContainer
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 HasContext
HasContext.ByDelegateNested classes/interfaces inherited from interface HasShape
HasShape.BoxNested classes/interfaces inherited from interface TextSegment
TextSegment.RenderableSegmentNested classes/interfaces inherited from interface TextSegment.RenderableSegment
TextSegment.RenderableSegment.UseTextLengthForCalculation -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Length[]protected Length[]protected float[]protected Length[]protected Length[]Fields inherited from class 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 TextContainer
acceptChild, addContent, appendTextShape, children, computeTextMetrics, contextDelegate, doAdd, forEachSegment, hasFixedLength, isVisible, prepareSegmentForRendering, renderSegment, renderSegmentWithoutLayout, segments, untransformedElementBounds, untransformedElementShape, vectorEffectsMethods inherited from class BaseContainerNode
addChild, isAcceptableTypeMethods inherited from class AbstractSVGNode
id, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Container
childrenOfTypeMethods inherited from interface HasContext.ByDelegate
fontRenderContext, fontSpec, paintContextMethods inherited from interface HasShape
elementBounds, elementShapeMethods inherited from interface Renderable
parseIsVisible, requiresInstantiation, shouldEstablishChildContextMethods inherited from interface 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
-