Class SVGDOM

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class SVGDOM
    extends RefCnt
    • 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)