Class YGMeasureFunc

    • Method Detail

      • create

        public static YGMeasureFunc create​(long functionPointer)
        Creates a YGMeasureFunc instance from the specified function pointer.
        Returns:
        the new YGMeasureFunc
      • createSafe

        @Nullable
        public static YGMeasureFunc createSafe​(long functionPointer)
        Like create, but returns null if functionPointer is NULL.
      • create

        public static YGMeasureFunc create​(YGMeasureFuncI instance)
        Creates a YGMeasureFunc instance that delegates to the specified YGMeasureFuncI instance.
      • toLong

        public static long toLong​(YGSize size)