Class ShadowNativeMeasuredParagraph

    • Constructor Detail

      • ShadowNativeMeasuredParagraph

        public ShadowNativeMeasuredParagraph()
    • Method Detail

      • nInitBuilder

        @Implementation
        protected static long nInitBuilder()
      • nAddStyleRun

        @Implementation
        protected static void nAddStyleRun​(long nativeBuilderPtr,
                                           long paintPtr,
                                           int start,
                                           int end,
                                           boolean isRtl)
      • nAddReplacementRun

        @Implementation
        protected static void nAddReplacementRun​(long nativeBuilderPtr,
                                                 long paintPtr,
                                                 int start,
                                                 int end,
                                                 float width)
      • nBuildNativeMeasuredParagraph

        @Implementation
        protected static long nBuildNativeMeasuredParagraph​(long nativeBuilderPtr,
                                                            char[] text,
                                                            boolean computeHyphenation,
                                                            boolean computeLayout)
      • nFreeBuilder

        @Implementation
        protected static void nFreeBuilder​(long nativeBuilderPtr)
      • nGetWidth

        @Implementation
        protected static float nGetWidth​(long nativePtr,
                                         int start,
                                         int end)
      • nGetReleaseFunc

        @Implementation
        protected static long nGetReleaseFunc()
      • nGetMemoryUsage

        @Implementation
        protected static int nGetMemoryUsage​(long nativePtr)
      • nGetBounds

        @Implementation
        protected static void nGetBounds​(long nativePtr,
                                         char[] buf,
                                         int start,
                                         int end,
                                         Rect rect)