Class ClipPath

All Implemented Interfaces:
Container<SVGNode>, HasShape, ShapedContainer<SVGNode>, SVGNode

  • Field Details

  • Constructor Details

    • ClipPath

      public ClipPath()
  • Method Details

    • tagName

      @NotNull public @NotNull String tagName()
      Specified by:
      tagName in interface SVGNode
    • isValid

      public boolean isValid()
    • build

      public void build(@NotNull @NotNull AttributeNode attributeNode)
      Specified by:
      build in interface SVGNode
      Overrides:
      build in class AbstractSVGNode
    • checkIsValid

      private boolean checkIsValid()
    • clipShape

      @NotNull public @NotNull Shape clipShape(@NotNull @NotNull RenderContext context, @NotNull @NotNull ElementBounds elementBounds, boolean useSoftClip)
    • createPaintForSoftClipping

      @NotNull public @NotNull Paint createPaintForSoftClipping(@NotNull @NotNull Output output, @NotNull @NotNull RenderContext context, @NotNull @NotNull ElementBounds elementBounds, @NotNull @NotNull Shape clipShape)
    • applyClip

      public void applyClip(@NotNull @NotNull Output output, @NotNull @NotNull RenderContext context, @NotNull @NotNull ElementBounds elementBounds)