Class ShadowNativeLineBreaker

    • Constructor Detail

      • ShadowNativeLineBreaker

        public ShadowNativeLineBreaker()
    • Method Detail

      • nInit

        @Implementation
        protected static long nInit​(int breakStrategy,
                                    int hyphenationFrequency,
                                    boolean isJustified,
                                    int[] indents)
      • nGetReleaseFunc

        @Implementation
        protected static long nGetReleaseFunc()
      • nComputeLineBreaks

        @Implementation
        protected static long nComputeLineBreaks​(long nativePtr,
                                                 char[] text,
                                                 long measuredTextPtr,
                                                 int length,
                                                 float firstWidth,
                                                 int firstWidthLineCount,
                                                 float restWidth,
                                                 float[] variableTabStops,
                                                 float defaultTabStop,
                                                 int indentsOffset)
      • nGetLineCount

        @Implementation
        protected static int nGetLineCount​(long ptr)
      • nGetLineBreakOffset

        @Implementation
        protected static int nGetLineBreakOffset​(long ptr,
                                                 int idx)
      • nGetLineWidth

        @Implementation
        protected static float nGetLineWidth​(long ptr,
                                             int idx)
      • nGetLineAscent

        @Implementation
        protected static float nGetLineAscent​(long ptr,
                                              int idx)
      • nGetLineDescent

        @Implementation
        protected static float nGetLineDescent​(long ptr,
                                               int idx)
      • nGetLineFlag

        @Implementation
        protected static int nGetLineFlag​(long ptr,
                                          int idx)
      • nGetReleaseResultFunc

        @Implementation
        protected static long nGetReleaseResultFunc()