shared/java/PathOp.java (10 lines of code) (raw):

package org.jetbrains.skija; import org.jetbrains.annotations.*; /** * The logical operations that can be performed when combining two paths. */ public enum PathOp { /** subtract the op path from the first path */ DIFFERENCE, /** intersect the two paths */ INTERSECT, /** union (inclusive-or) the two paths */ UNION, /** exclusive-or the two paths */ XOR, /** subtract the first path from the op path */ REVERSE_DIFFERENCE; @ApiStatus.Internal public static final PathOp[] _values = values(); }