Module com.github.weisj.jsvg
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
public abstract class BaseInnerViewContainer extends CommonRenderableContainerNode
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.github.weisj.jsvg.nodes.prototype.HasContext
HasContext.ByDelegate
-
Nested classes/interfaces inherited from interface com.github.weisj.jsvg.nodes.prototype.HasGeometryContext
HasGeometryContext.ByDelegate
-
-
Field Summary
Fields Modifier and Type Field Description private Overflowoverflowprotected PreserveAspectRatiopreserveAspectRatioprotected ViewBoxviewBox
-
Constructor Summary
Constructors Constructor Description BaseInnerViewContainer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract @Nullable java.awt.geom.Point2DanchorLocation(@NotNull MeasureContext context)voidbuild(@NotNull AttributeNode attributeNode)protected @NotNull RenderContextcreateInnerContext(@NotNull RenderContext context, @NotNull ViewBox viewBox)protected abstract @NotNull OverflowdefaultOverflow()protected abstract @NotNull java.awt.geom.Point2DouterLocation(@NotNull MeasureContext context)voidrender(@NotNull RenderContext context, @NotNull Output output)protected voidrenderWithCurrentViewBox(@NotNull RenderContext context, @NotNull Output output)voidrenderWithSize(@NotNull FloatSize useSiteSize, @Nullable ViewBox view, @NotNull RenderContext context, @NotNull Output output)voidrenderWithSize(@NotNull FloatSize useSiteSize, @Nullable ViewBox view, @Nullable PreserveAspectRatio preserveAspectRatio, @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, isVisible
-
Methods inherited from class com.github.weisj.jsvg.nodes.container.BaseContainerNode
acceptChild, addChild, isAcceptableType
-
Methods inherited from class com.github.weisj.jsvg.nodes.AbstractSVGNode
addContent, id, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.github.weisj.jsvg.nodes.prototype.Container
childrenOfType
-
Methods inherited from interface com.github.weisj.jsvg.nodes.prototype.HasContext.ByDelegate
fontRenderContext, fontSpec, paintContext
-
Methods inherited from interface com.github.weisj.jsvg.nodes.prototype.HasGeometryContext.ByDelegate
clipPath, filter, mask, transform, transformBox, transformOrigin
-
Methods inherited from interface com.github.weisj.jsvg.nodes.prototype.Renderable
parseIsVisible, requiresInstantiation, shouldEstablishChildContext
-
Methods inherited from interface com.github.weisj.jsvg.nodes.prototype.Transformable
applyTransform, effectiveTransform, shouldTransform, transformShape
-
-
-
-
Field Detail
-
viewBox
protected ViewBox viewBox
-
preserveAspectRatio
protected PreserveAspectRatio preserveAspectRatio
-
overflow
private Overflow overflow
-
-
Method Detail
-
outerLocation
@NotNull protected abstract @NotNull java.awt.geom.Point2D outerLocation(@NotNull @NotNull MeasureContext context)
-
anchorLocation
@Nullable protected abstract @Nullable java.awt.geom.Point2D anchorLocation(@NotNull @NotNull MeasureContext context)
-
size
@NotNull public abstract @NotNull FloatSize size(@NotNull @NotNull RenderContext context)
-
defaultOverflow
@NotNull protected abstract @NotNull Overflow defaultOverflow()
-
viewBox
@Nullable public @Nullable ViewBox viewBox(@NotNull @NotNull RenderContext context)
-
staticViewBox
@NotNull public @NotNull ViewBox staticViewBox(@NotNull @NotNull FloatSize fallbackSize)
-
build
@MustBeInvokedByOverriders public void build(@NotNull @NotNull AttributeNode attributeNode)- Specified by:
buildin interfaceSVGNode- Overrides:
buildin classCommonRenderableContainerNode
-
renderWithCurrentViewBox
protected void renderWithCurrentViewBox(@NotNull @NotNull RenderContext context, @NotNull @NotNull Output output)
-
render
public void render(@NotNull @NotNull RenderContext context, @NotNull @NotNull Output output)- Specified by:
renderin interfaceRenderable- Overrides:
renderin classCommonRenderableContainerNode
-
createInnerContext
@NotNull protected @NotNull RenderContext createInnerContext(@NotNull @NotNull RenderContext context, @NotNull @NotNull ViewBox viewBox)
-
renderWithSize
public final void renderWithSize(@NotNull @NotNull FloatSize useSiteSize, @Nullable @Nullable ViewBox view, @NotNull @NotNull RenderContext context, @NotNull @NotNull Output output)
-
renderWithSize
public final void renderWithSize(@NotNull @NotNull FloatSize useSiteSize, @Nullable @Nullable ViewBox view, @Nullable @Nullable PreserveAspectRatio preserveAspectRatio, @NotNull @NotNull RenderContext context, @NotNull @NotNull Output output)
-
-