Class Pattern

    • Field Detail

      • height

        private Length height
      • patternUnits

        private UnitType patternUnits
      • patternContentUnits

        private UnitType patternContentUnits
      • patternTransform

        private java.awt.geom.AffineTransform patternTransform
    • Constructor Detail

      • Pattern

        public Pattern()
    • Method Detail

      • tagName

        @NotNull
        public @NotNull java.lang.String tagName()
        Specified by:
        tagName in interface SVGNode
      • parseTemplate

        @Nullable
        private @Nullable Pattern parseTemplate​(@NotNull
                                                @NotNull AttributeNode attributeNode)
      • isVisible

        public boolean isVisible()
        Specified by:
        isVisible in interface SVGPaint
      • fillShape

        public void fillShape​(@NotNull
                              @NotNull Output output,
                              @NotNull
                              @NotNull RenderContext context,
                              @NotNull
                              @NotNull java.awt.Shape shape,
                              @Nullable
                              @Nullable java.awt.geom.Rectangle2D bounds)
        Specified by:
        fillShape in interface SVGPaint
      • drawShape

        public void drawShape​(@NotNull
                              @NotNull Output output,
                              @NotNull
                              @NotNull RenderContext context,
                              @NotNull
                              @NotNull java.awt.Shape shape,
                              @Nullable
                              @Nullable java.awt.geom.Rectangle2D bounds)
        Specified by:
        drawShape in interface SVGPaint
      • paintForBounds

        @NotNull
        private @NotNull java.awt.Paint paintForBounds​(@NotNull
                                                       @NotNull Output output,
                                                       @NotNull
                                                       @NotNull RenderContext context,
                                                       @NotNull
                                                       @NotNull java.awt.geom.Rectangle2D bounds)
      • requiresInstantiation

        public boolean requiresInstantiation()
        Description copied from interface: Renderable
        Indicated whether the element can only be rendered through means of instantiation e.g. being referenced in a use tag. Instantiation doesn't create a new element it only controls, when an element can be rendered.
        Specified by:
        requiresInstantiation in interface Renderable
        Returns:
        true if only rendered is instantiated.