Class Text
- 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 HasContext
HasContext.ByDelegateNested classes/interfaces inherited from interface HasGeometryContext
HasGeometryContext.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
FieldsFields inherited from class TextContainer
fontSpec, lengthAdjust, textLength -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild(@NotNull AttributeNode attributeNode) @NotNull HasGeometryContext@NotNull StringtagName()Methods inherited from class LinearTextContainer
cleanUpLocalCursor, createCursor, createLocalCursor, glyphShape, renderMethods 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 HasGeometryContext.ByDelegate
clipPath, filter, mask, transform, transformBox, transformOriginMethods inherited from interface HasShape
elementBounds, elementShapeMethods inherited from interface Renderable
parseIsVisible, requiresInstantiation, shouldEstablishChildContextMethods inherited from interface TextSegment
isValidMethods inherited from interface Transformable
applyTransform, effectiveTransform, shouldTransform, transformShape
-
Field Details
-
TAG
- See Also:
-
geometryContext
-
-
Constructor Details
-
Text
public Text()
-
-
Method Details
-
tagName
-
build
- Specified by:
buildin interfaceSVGNode- Overrides:
buildin classLinearTextContainer
-
geometryContextDelegate
- Specified by:
geometryContextDelegatein interfaceHasGeometryContext.ByDelegate
-