Class ShadowNativeLinearGradient

    • Constructor Detail

      • ShadowNativeLinearGradient

        public ShadowNativeLinearGradient()
    • Method Detail

      • nativeCreate

        @Implementation(minSdk=29)
        protected long nativeCreate​(long matrix,
                                    float x0,
                                    float y0,
                                    float x1,
                                    float y1,
                                    long[] colors,
                                    float[] positions,
                                    int tileMode,
                                    long colorSpaceHandle)
      • nativeCreate1

        @Implementation(minSdk=26,
                        maxSdk=28)
        protected long nativeCreate1​(long matrix,
                                     float x0,
                                     float y0,
                                     float x1,
                                     float y1,
                                     int[] colors,
                                     float[] positions,
                                     int tileMode)
      • nativeCreate2

        @Implementation(minSdk=26,
                        maxSdk=28)
        protected long nativeCreate2​(long matrix,
                                     float x0,
                                     float y0,
                                     float x1,
                                     float y1,
                                     int color0,
                                     int color1,
                                     int tileMode)