io.github.humbleui.skija.skottie.RenderFlag Maven / Gradle / Ivy
package io.github.humbleui.skija.skottie;
import org.jetbrains.annotations.*;
public enum RenderFlag {
/**
* When rendering into a known transparent buffer, clients can pass
* this flag to avoid some unnecessary compositing overhead for
* animations using layer blend modes.
*/
SKIP_TOP_LEVEL_ISOLATION(0x01),
/**
* By default, content is clipped to the intrinsic animation
* bounds (as determined by its size). If this flag is set,
* then the animation can draw outside of the bounds.
*/
DISABLE_TOP_LEVEL_CLIPPING(0x02);
@ApiStatus.Internal public static final RenderFlag[] _values = values();
@ApiStatus.Internal public final int _flag;
RenderFlag(int flag) {
this._flag = flag;
}
}