Package io.github.humbleui.skija.svg
Class SVGDOM
- java.lang.Object
-
- io.github.humbleui.skija.impl.Native
-
- io.github.humbleui.skija.impl.Managed
-
- io.github.humbleui.skija.impl.RefCnt
-
- io.github.humbleui.skija.svg.SVGDOM
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class SVGDOM extends RefCnt
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.github.humbleui.skija.impl.RefCnt
RefCnt._FinalizerHolder
-
Nested classes/interfaces inherited from class io.github.humbleui.skija.impl.Managed
Managed.CleanerThunk
-
-
Field Summary
-
Fields inherited from class io.github.humbleui.skija.impl.Managed
_cleanable
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static io.github.humbleui.types.Point_nGetContainerSize(long ptr)static long_nGetRoot(long ptr)static long_nMakeFromData(long dataPtr)static void_nRender(long ptr, long canvasPtr)static void_nSetContainerSize(long ptr, float width, float height)@NotNull io.github.humbleui.types.PointgetContainerSize()Deprecated.@Nullable SVGSVGgetRoot()@NotNull SVGDOMrender(@NotNull Canvas canvas)@NotNull SVGDOMsetContainerSize(float width, float height)@NotNull SVGDOMsetContainerSize(io.github.humbleui.types.Point size)-
Methods inherited from class io.github.humbleui.skija.impl.RefCnt
_nGetFinalizer, _nGetRefCount, getRefCount, toString
-
Methods inherited from class io.github.humbleui.skija.impl.Managed
_nInvokeFinalizer, close, isClosed
-
Methods inherited from class io.github.humbleui.skija.impl.Native
_nativeEquals, equals, getPtr, hashCode
-
-
-
-
Constructor Detail
-
SVGDOM
public SVGDOM(@NotNull @NotNull Data data)
-
SVGDOM
@Internal public SVGDOM(long ptr)
-
-
Method Detail
-
getRoot
@Nullable public @Nullable SVGSVG getRoot()
-
getContainerSize
@NotNull @Deprecated public @NotNull io.github.humbleui.types.Point getContainerSize()
Deprecated.Deprecated. Use getRoot().getIntrinsicSize() instead
-
setContainerSize
@NotNull @Contract("-> this") public @NotNull SVGDOM setContainerSize(float width, float height)
-
setContainerSize
@NotNull @Contract("-> this") public @NotNull SVGDOM setContainerSize(io.github.humbleui.types.Point size)
-
render
@NotNull @Contract("-> this") public @NotNull SVGDOM render(@NotNull @NotNull Canvas canvas)
-
_nMakeFromData
@Internal public static long _nMakeFromData(long dataPtr)
-
_nGetRoot
@Internal public static long _nGetRoot(long ptr)
-
_nGetContainerSize
@Internal public static io.github.humbleui.types.Point _nGetContainerSize(long ptr)
-
_nSetContainerSize
@Internal public static void _nSetContainerSize(long ptr, float width, float height)
-
_nRender
@Internal public static void _nRender(long ptr, long canvasPtr)
-
-