Class Image
java.lang.Object
com.github.weisj.jsvg.nodes.AbstractSVGNode
com.github.weisj.jsvg.nodes.RenderableSVGNode
com.github.weisj.jsvg.nodes.Image
- All Implemented Interfaces:
HasClip, HasFilter, HasGeometryContext, HasGeometryContext.ByDelegate, Renderable, Transformable, SVGNode
@ElementCategories({Graphic,GraphicsReferencing})
@PermittedContent(categories={Animation,Descriptive})
public final class Image
extends RenderableSVGNode
-
Nested Class Summary
Nested classes/interfaces inherited from interface HasGeometryContext
HasGeometryContext.ByDelegate -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Lengthprivate ResourceSupplier<RenderableResource> private static final Loggerprivate Overflowprivate PreserveAspectRatiostatic final Stringprivate Lengthprivate Lengthprivate Length -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild(@NotNull AttributeNode attributeNode) private @Nullable RenderableResourcefetchImage(@NotNull RenderContext context) booleanisVisible(@NotNull RenderContext context) voidrender(@NotNull RenderContext context, @NotNull Output output) @NotNull StringtagName()Methods inherited from class RenderableSVGNode
geometryContextDelegateMethods inherited from class AbstractSVGNode
addContent, id, toStringMethods 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 Renderable
parseIsVisible, requiresInstantiation, shouldEstablishChildContextMethods inherited from interface Transformable
applyTransform, effectiveTransform, shouldTransform, transformShape
-
Field Details
-
LOGGER
-
TAG
- See Also:
-
x
-
y
-
width
-
height
-
preserveAspectRatio
-
overflow
-
imgResource
-
-
Constructor Details
-
Image
public Image()
-
-
Method Details
-
tagName
-
isVisible
- Specified by:
isVisiblein interfaceRenderable- Overrides:
isVisiblein classRenderableSVGNode
-
build
- Specified by:
buildin interfaceSVGNode- Overrides:
buildin classRenderableSVGNode
-
fetchImage
-
render
-