Package com.github.weisj.jsvg.nodes.text
Class Text
- java.lang.Object
-
- All Implemented Interfaces:
Container<TextSegment>
,HasClip
,HasContext
,HasContext.ByDelegate
,HasFillRule
,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 HasGeometryContext
geometryContext
static java.lang.String
TAG
-
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 void
build(@NotNull AttributeNode attributeNode)
@NotNull HasGeometryContext
geometryContextDelegate()
@NotNull java.lang.String
tagName()
-
Methods inherited from class com.github.weisj.jsvg.nodes.text.LinearTextContainer
cleanUpLocalCursor, createLocalCursor, render, untransformedElementShape
-
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.HasGeometryContext.ByDelegate
clipPath, filter, mask, transform, 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.prototype.Transformable
applyTransform, 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:
build
in interfaceSVGNode
- Overrides:
build
in classLinearTextContainer
-
geometryContextDelegate
@NotNull public @NotNull HasGeometryContext geometryContextDelegate()
- Specified by:
geometryContextDelegate
in interfaceHasGeometryContext.ByDelegate
-
-