All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.humbleui.skija.skottie.AnimationBuilderFlag Maven / Gradle / Ivy

There is a newer version: 0.116.2
Show newest version
package io.github.humbleui.skija.skottie;

import org.jetbrains.annotations.*;

public enum AnimationBuilderFlag {
    /**
     * Normally, all static image frames are resolved at
     * load time via ImageAsset::getFrame(0).  With this flag,
     * frames are only resolved when needed, at seek() time.
     */
    DEFER_IMAGE_LOADING(0x01),

    /**
     * Attempt to use the embedded fonts (glyph paths,
     * normally used as fallback) over native Skia typefaces.
     */
    PREFER_EMBEDDED_FONTS(0x02);

    @ApiStatus.Internal public static final AnimationBuilderFlag[] _values = values();

    @ApiStatus.Internal public final int _flag;

    AnimationBuilderFlag(int flag) {
        this._flag = flag;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy