NativeMorpher

Native path morpher using Python for interpolation, inheriting shared

caching and initialization from BaseInterpolator.

Constructor

NativeMorpher(path1: SVGPath, path2: SVGPath, kwargs)

Methods

clear_cache

clear_cache()

Clear the t-value interpolation cache.

close

close()

Clears the result cache via the parent class.

for_paths

for_paths(
    path1: SVGPath,
    path2: SVGPath,
    kwargs: Any
) -> NativeMorpher

Factory method implementation: simply constructs a new instance

get_cache_stats

get_cache_stats()

Get statistics about the t-value cache performance.

Returns

Dictionary with cache statistics