Package com.github.weisj.jsvg.nodes
Class Use
java.lang.Object
com.github.weisj.jsvg.nodes.AbstractSVGNode
com.github.weisj.jsvg.nodes.RenderableSVGNode
com.github.weisj.jsvg.nodes.Use
- All Implemented Interfaces:
HasClip,HasContext,HasFillRule,HasFilter,HasFontContext,HasFontRenderContext,HasGeometryContext,HasGeometryContext.ByDelegate,HasPaintContext,HasShape,Instantiator,Renderable,Transformable,SVGNode
@ElementCategories({Graphic,GraphicsReferencing,Structural})
@PermittedContent(categories={Animation,Descriptive})
public final class Use
extends RenderableSVGNode
implements HasContext, HasShape, Instantiator
-
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.HasGeometryContext
HasGeometryContext.ByDelegateNested classes/interfaces inherited from interface com.github.weisj.jsvg.nodes.prototype.HasShape
HasShape.Box -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild(@NotNull AttributeNode attributeNode) booleancanInstantiate(@NotNull SVGNode node) @NotNull FillRulefillRule()@NotNull FontRenderContext@NotNull AttributeFontSpecfontSpec()booleanisVisible(@NotNull RenderContext context) @NotNull PaintContext@Nullable SVGNodevoidrender(@NotNull RenderContext context, @NotNull Output output) @NotNull StringtagName()toString()@NotNull Rectangle2DuntransformedElementBounds(@NotNull RenderContext context, HasShape.Box box) @NotNull ShapeuntransformedElementShape(@NotNull RenderContext context) Methods inherited from class com.github.weisj.jsvg.nodes.RenderableSVGNode
geometryContextDelegateMethods inherited from class com.github.weisj.jsvg.nodes.AbstractSVGNode
addContent, idMethods 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.HasGeometryContext.ByDelegate
clipPath, filter, mask, transform, transformOriginMethods inherited from interface com.github.weisj.jsvg.nodes.prototype.HasShape
elementBounds, elementShapeMethods inherited from interface com.github.weisj.jsvg.nodes.prototype.Instantiator
createContextAttributesMethods inherited from interface com.github.weisj.jsvg.nodes.prototype.Renderable
parseIsVisible, requiresInstantiation, shouldEstablishChildContextMethods inherited from interface com.github.weisj.jsvg.nodes.prototype.Transformable
applyTransform, shouldTransform, transformShape
-
Field Details
-
TAG
- See Also:
-
-
Constructor Details
-
Use
public Use()
-
-
Method Details
-
tagName
-
referencedNode
-
isVisible
- Specified by:
isVisiblein interfaceRenderable- Overrides:
isVisiblein classRenderableSVGNode
-
build
- Specified by:
buildin interfaceSVGNode- Overrides:
buildin classRenderableSVGNode
-
untransformedElementShape
- Specified by:
untransformedElementShapein interfaceHasShape
-
untransformedElementBounds
@NotNull public @NotNull Rectangle2D untransformedElementBounds(@NotNull @NotNull RenderContext context, HasShape.Box box) - Specified by:
untransformedElementBoundsin interfaceHasShape
-
paintContext
- Specified by:
paintContextin interfaceHasPaintContext
-
fontRenderContext
- Specified by:
fontRenderContextin interfaceHasFontRenderContext
-
fontSpec
- Specified by:
fontSpecin interfaceHasFontContext
-
fillRule
- Specified by:
fillRulein interfaceHasFillRule
-
canInstantiate
- Specified by:
canInstantiatein interfaceInstantiator
-
render
- Specified by:
renderin interfaceRenderable
-
toString
- Overrides:
toStringin classAbstractSVGNode
-