Class BaseInnerViewContainer
java.lang.Object
com.github.weisj.jsvg.nodes.AbstractSVGNode
com.github.weisj.jsvg.nodes.container.BaseContainerNode<SVGNode>
com.github.weisj.jsvg.nodes.container.CommonRenderableContainerNode
com.github.weisj.jsvg.nodes.container.BaseInnerViewContainer
- All Implemented Interfaces:
Container<SVGNode>,HasClip,HasContext,HasContext.ByDelegate,HasFilter,HasFontContext,HasFontRenderContext,HasGeometryContext,HasGeometryContext.ByDelegate,HasPaintContext,Renderable,Transformable,SVGNode
- Direct Known Subclasses:
CommonInnerViewContainer,Marker,Pattern
-
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.ByDelegate -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract @Nullable Point2DanchorLocation(@NotNull MeasureContext context) voidbuild(@NotNull AttributeNode attributeNode) final @NotNull RenderContextcreateInnerContextForViewBox(@NotNull FloatSize useSiteSize, @Nullable ViewBox view, @NotNull RenderContext context, @NotNull Output output) protected abstract @NotNull Overflowprotected booleanprotected abstract @NotNull Point2DouterLocation(@NotNull MeasureContext context) voidrender(@NotNull RenderContext context, @NotNull Output output) voidrenderWithEstablishedViewBox(@NotNull RenderContext context, @NotNull Output output) final voidrenderWithSize(@NotNull FloatSize useSiteSize, @Nullable ViewBox view, @NotNull RenderContext context, @NotNull Output output) abstract @NotNull FloatSizesize(@NotNull RenderContext context) @NotNull ViewBoxstaticViewBox(@NotNull FloatSize fallbackSize) @Nullable ViewBoxviewBox(@NotNull RenderContext context) Methods inherited from class com.github.weisj.jsvg.nodes.container.CommonRenderableContainerNode
children, contextDelegate, doAdd, geometryContextDelegate, isVisibleMethods inherited from class com.github.weisj.jsvg.nodes.container.BaseContainerNode
acceptChild, addChild, isAcceptableTypeMethods inherited from class com.github.weisj.jsvg.nodes.AbstractSVGNode
id, toStringMethods 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.Container
childrenOfTypeMethods inherited from interface com.github.weisj.jsvg.nodes.prototype.HasContext.ByDelegate
fontRenderContext, fontSpec, paintContextMethods inherited from interface com.github.weisj.jsvg.nodes.prototype.HasGeometryContext.ByDelegate
clipPath, filter, mask, transform, transformBox, transformOriginMethods inherited from interface com.github.weisj.jsvg.nodes.prototype.Renderable
parseIsVisible, requiresInstantiationMethods inherited from interface com.github.weisj.jsvg.nodes.SVGNode
addContent, tagNameMethods inherited from interface com.github.weisj.jsvg.nodes.prototype.Transformable
applyTransform, effectiveTransform, shouldTransform, transformShape
-
Field Details
-
viewBox
-
preserveAspectRatio
-
-
Constructor Details
-
BaseInnerViewContainer
public BaseInnerViewContainer()
-
-
Method Details
-
outerLocation
@NotNull protected abstract @NotNull Point2D outerLocation(@NotNull @NotNull MeasureContext context) -
anchorLocation
@Nullable protected abstract @Nullable Point2D anchorLocation(@NotNull @NotNull MeasureContext context) -
size
-
defaultOverflow
-
viewBox
-
staticViewBox
-
build
- Specified by:
buildin interfaceSVGNode- Overrides:
buildin classCommonRenderableContainerNode
-
renderWithEstablishedViewBox
public void renderWithEstablishedViewBox(@NotNull @NotNull RenderContext context, @NotNull @NotNull Output output) -
render
- Specified by:
renderin interfaceRenderable- Overrides:
renderin classCommonRenderableContainerNode
-
renderWithSize
public final void renderWithSize(@NotNull @NotNull FloatSize useSiteSize, @Nullable @Nullable ViewBox view, @NotNull @NotNull RenderContext context, @NotNull @NotNull Output output) -
inheritAttributes
protected boolean inheritAttributes() -
createInnerContextForViewBox
@NotNull public final @NotNull RenderContext createInnerContextForViewBox(@NotNull @NotNull FloatSize useSiteSize, @Nullable @Nullable ViewBox view, @NotNull @NotNull RenderContext context, @NotNull @NotNull Output output)
-