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, 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 HasContext
HasContext.ByDelegateNested classes/interfaces inherited from interface HasGeometryContext
HasGeometryContext.ByDelegateNested classes/interfaces inherited from interface HasShape
HasShape.Box -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate FillRuleprivate FontRenderContextprivate AttributeFontSpecprivate Lengthprivate PaintContextprivate @Nullable SVGNodestatic final Stringprivate Lengthprivate Lengthprivate Length -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild(@NotNull AttributeNode attributeNode) booleancanInstantiate(@NotNull SVGNode node) @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, HasShape.Box box) Methods inherited from class RenderableSVGNode
geometryContextDelegateMethods inherited from class AbstractSVGNode
addContent, idMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface HasGeometryContext.ByDelegate
clipPath, filter, mask, transform, transformBox, transformOriginMethods inherited from interface HasShape
elementBounds, elementShapeMethods inherited from interface Instantiator
createContextAttributesMethods inherited from interface Renderable
parseIsVisible, requiresInstantiation, shouldEstablishChildContextMethods inherited from interface SVGNode
addContent, idMethods inherited from interface Transformable
applyTransform, effectiveTransform, shouldTransform, transformShape
-
Field Details
-
TAG
- See Also:
-
x
-
y
-
width
-
height
-
referencedNode
-
paintContext
-
fontRenderContext
-
fontSpec
-
fillRule
-
-
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
@NotNull public @NotNull Shape untransformedElementShape(@NotNull @NotNull RenderContext context, HasShape.Box box) - 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
-
canInstantiate
- Specified by:
canInstantiatein interfaceInstantiator
-
render
- Specified by:
renderin interfaceRenderable
-
toString
- Overrides:
toStringin classAbstractSVGNode
-