Class PathUtil

java.lang.Object
com.github.weisj.jsvg.util.PathUtil

public final class PathUtil extends Object
  • Field Details

    • trimPathHandle

      @Nullable private static final @Nullable MethodHandle trimPathHandle
  • Constructor Details

    • PathUtil

      private PathUtil()
  • Method Details

    • lookupTrimPathMethod

      @Nullable private static @Nullable MethodHandle lookupTrimPathMethod()
    • parseFromPathData

      @NotNull public static @NotNull SVGShape parseFromPathData(@NotNull @NotNull String data, FillRule fillRule)
    • setPolyLine

      @NotNull public static @NotNull Path2D setPolyLine(@Nullable @Nullable Path2D path, float @NotNull [] points, boolean closed)
    • trimPathToSize

      public static void trimPathToSize(@NotNull @NotNull Path2D path)