PathPainting.java 1.3 KB
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.internal.pdftoolkit.graphicsDOM;

/*
 * This class specifies class file version 49.0 but uses Java 6 signatures.  Assumed Java 6.
 */
public enum PathPainting {
    STROKE(false, true, false, false),
    STROKEANDCLOSE(false, true, false, false),
    FILL(true, false, false, false),
    FILLODDEVEN(true, false, false, true),
    FILLANDSTROKE(true, true, false, false),
    FILLANDSTROKEODDEVEN(true, true, false, true),
    CLOSEFILLANDSTROKE(true, true, false, false),
    CLOSEFILLANDSTROKEODDEVEN(true, true, false, true),
    CLIPPATHNONZERO(false, false, true, false),
    CLIPPATHODDEVEN(false, false, true, true),
    ENDPATH(false, false, false, false);
    
    private boolean fill;
    private boolean stroke;
    private boolean clipPath;
    private boolean oddEven;

    private PathPainting(boolean fill, boolean stroke, boolean clipPath, boolean oddEven) {
        this.fill = fill;
        this.stroke = stroke;
        this.clipPath = clipPath;
        this.oddEven = oddEven;
    }

    public boolean isFill() {
        return this.fill;
    }

    public boolean isStroke() {
        return this.stroke;
    }

    public boolean isClipPath() {
        return this.clipPath;
    }

    public boolean isOddEven() {
        return this.oddEven;
    }
}