Package com.github.weisj.jsvg.util
Class PathUtil
- java.lang.Object
-
- com.github.weisj.jsvg.util.PathUtil
-
public final class PathUtil extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static @Nullable java.lang.invoke.MethodHandle
trimPathHandle
-
Constructor Summary
Constructors Modifier Constructor Description private
PathUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static @Nullable java.lang.invoke.MethodHandle
lookupTrimPathMethod()
static @NotNull MeasurableShape
parseFromPathData(@NotNull java.lang.String data, @NotNull FillRule fillRule)
static void
trimPathToSize(@NotNull java.awt.geom.Path2D path)
-
-
-
Method Detail
-
lookupTrimPathMethod
@Nullable private static @Nullable java.lang.invoke.MethodHandle lookupTrimPathMethod()
-
parseFromPathData
@NotNull public static @NotNull MeasurableShape parseFromPathData(@NotNull @NotNull java.lang.String data, @NotNull @NotNull FillRule fillRule)
-
trimPathToSize
public static void trimPathToSize(@NotNull @NotNull java.awt.geom.Path2D path)
-
-