- java.lang.Object
-
- All Implemented Interfaces:
Container<TextSegment>,HasClip,HasContext,HasContext.ByDelegate,HasFilter,HasFontContext,HasFontRenderContext,HasGeometryContext,HasGeometryContext.ByDelegate,HasPaintContext,HasShape,HasVectorEffects,Renderable,Transformable,SVGNode,TextSegment,TextSegment.RenderableSegment
@ElementCategories({Graphic,TextContent}) @PermittedContent(categories={Animation,Descriptive,TextContentChild}, anyOf=Anchor.class, charData=true) public final class Text extends LinearTextContainer implements HasGeometryContext.ByDelegate
-
-
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.HasGeometryContext
HasGeometryContext.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
Fields Modifier and Type Field Description private HasGeometryContextgeometryContextstatic java.lang.StringTAG-
Fields inherited from class com.github.weisj.jsvg.nodes.text.LinearTextContainer
dx, dy, rotate, x, y
-
Fields inherited from class com.github.weisj.jsvg.nodes.text.TextContainer
fontSpec, lengthAdjust, textLength
-
-
Constructor Summary
Constructors Constructor Description Text()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuild(@NotNull AttributeNode attributeNode)@NotNull HasGeometryContextgeometryContextDelegate()@NotNull java.lang.StringtagName()-
Methods inherited from class com.github.weisj.jsvg.nodes.text.LinearTextContainer
cleanUpLocalCursor, createCursor, createLocalCursor, glyphShape, render
-
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, 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
fontRenderContext, fontSpec, paintContext
-
Methods inherited from interface com.github.weisj.jsvg.nodes.prototype.HasGeometryContext.ByDelegate
clipPath, filter, mask, transform, transformBox, transformOrigin
-
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
-
Methods inherited from interface com.github.weisj.jsvg.nodes.text.TextSegment
isValid
-
Methods inherited from interface com.github.weisj.jsvg.nodes.prototype.Transformable
applyTransform, effectiveTransform, shouldTransform, transformShape
-
-
-
-
Field Detail
-
TAG
public static final java.lang.String TAG
- See Also:
- Constant Field Values
-
geometryContext
private HasGeometryContext geometryContext
-
-
Method Detail
-
tagName
@NotNull public @NotNull java.lang.String tagName()
-
build
public void build(@NotNull @NotNull AttributeNode attributeNode)- Specified by:
buildin interfaceSVGNode- Overrides:
buildin classLinearTextContainer
-
geometryContextDelegate
@NotNull public @NotNull HasGeometryContext geometryContextDelegate()
- Specified by:
geometryContextDelegatein interfaceHasGeometryContext.ByDelegate
-
-