Class NodeRenderer


  • public final class NodeRenderer
    extends java.lang.Object
    • Constructor Detail

      • NodeRenderer

        private NodeRenderer()
    • Method Detail

      • renderNode

        public static void renderNode​(@NotNull
                                      @NotNull SVGNode node,
                                      @NotNull
                                      @NotNull RenderContext context,
                                      @NotNull
                                      @NotNull Output output)
      • renderNode

        public static void renderNode​(@NotNull
                                      @NotNull SVGNode node,
                                      @NotNull
                                      @NotNull RenderContext context,
                                      @NotNull
                                      @NotNull Output output,
                                      @Nullable
                                      @Nullable Instantiator instantiator)
      • createRenderInfo

        @Nullable
        private static @Nullable Info createRenderInfo​(@NotNull
                                                       @NotNull SVGNode node,
                                                       @NotNull
                                                       @NotNull RenderContext context,
                                                       @NotNull
                                                       @NotNull Output output,
                                                       @Nullable
                                                       @Nullable Instantiator instantiator)
      • applyTransform

        private static void applyTransform​(@NotNull
                                           @NotNull Renderable renderable,
                                           @NotNull
                                           @NotNull Output childOutput,
                                           @NotNull
                                           @NotNull RenderContext childContext)
      • checkInstantiation

        private static boolean checkInstantiation​(@NotNull
                                                  @NotNull SVGNode node,
                                                  @Nullable
                                                  @Nullable Instantiator instantiator,
                                                  @NotNull
                                                  @NotNull Renderable renderable)
      • setupClip

        @Nullable
        private static @Nullable ClipPath setupClip​(@NotNull
                                                    @NotNull HasClip renderable,
                                                    @NotNull
                                                    @NotNull ElementBounds elementBounds,
                                                    @NotNull
                                                    @NotNull RenderContext childContext,
                                                    @NotNull
                                                    @NotNull Output childOutput)
      • setupFilter

        @Nullable
        private static @Nullable Filter setupFilter​(@NotNull
                                                    @NotNull HasFilter hasFilter,
                                                    @NotNull
                                                    @NotNull Output childOutput)
      • useAccurateMasking

        private static boolean useAccurateMasking​(@NotNull
                                                  @NotNull Output output)
      • setupRenderContext

        @NotNull
        public static @NotNull RenderContext setupRenderContext​(@NotNull
                                                                @NotNull java.lang.Object node,
                                                                @NotNull
                                                                @NotNull RenderContext context)
      • setupRenderContext

        @NotNull
        private static @NotNull RenderContext setupRenderContext​(@Nullable
                                                                 @Nullable Instantiator instantiator,
                                                                 @NotNull
                                                                 @NotNull java.lang.Object node,
                                                                 @NotNull
                                                                 @NotNull RenderContext context)
      • setupInnerViewRenderContext

        @NotNull
        public static @NotNull RenderContext setupInnerViewRenderContext​(@NotNull
                                                                         @NotNull ViewBox viewBox,
                                                                         @NotNull
                                                                         @NotNull RenderContext context,
                                                                         boolean inheritAttributes)