PathPainting.java
1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
* 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;
}
}