ShadingPattern.java
2.97 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.internal.pdftoolkit.graphicsDOM;
import com.adobe.internal.pdftoolkit.graphicsDOM.ContentItem;
import com.adobe.internal.pdftoolkit.graphicsDOM.ContentType;
import com.adobe.internal.pdftoolkit.graphicsDOM.GraphicsState;
import com.adobe.internal.pdftoolkit.graphicsDOM.Pattern;
import com.adobe.internal.pdftoolkit.graphicsDOM.TextState;
import java.awt.Color;
import java.awt.DisplayMode;
import java.util.ArrayList;
/*
* This class specifies class file version 49.0 but uses Java 6 signatures. Assumed Java 6.
*/
public abstract class ShadingPattern<G extends GraphicsState, T extends TextState, C extends ContentItem<G>>
extends Pattern<G, T, C> {
private double[] background;
private Boolean antialias;
private double[] domain;
private ArrayList<Boolean> extend;
private double[] bbox;
private int height;
protected Color[] colorValues;
private int width;
private double[] matrix;
public ShadingPattern(G graphicsStae, int id) {
super(graphicsStae, id);
}
public abstract ShadingType getShadingType();
public abstract Color[] getColorValues();
public abstract void setColorValues(Color[] var1);
public double[] getBBox() {
return this.bbox;
}
public void setBBox(double[] bBox) {
this.bbox = bBox;
}
public void setDisplayMode(DisplayMode displayMode) {
}
public double[] getBackground() {
return this.background;
}
public void setBackground(double[] background) {
this.background = background;
}
public double[] getDomain() {
return this.domain;
}
public void setDomain(double[] domain) {
this.domain = domain;
}
public ArrayList<Boolean> getExtend() {
return this.extend;
}
public void setExtend(ArrayList<Boolean> extend) {
this.extend = extend;
}
public Boolean getantialiasing() {
return this.antialias;
}
public void setAntialias(Boolean antialias) {
this.antialias = antialias;
}
public int getHeight() {
return this.height;
}
public void setHeight(int height) {
this.height = height;
}
public int getWidth() {
return this.width;
}
public void setWidth(int width) {
this.width = width;
}
public double[] getMatrix() {
return this.matrix;
}
public void setMatrix(double[] matrix) {
this.matrix = matrix;
}
@Override
public ContentType getType() {
return ContentType.ShadingPattern;
}
/*
* This class specifies class file version 49.0 but uses Java 6 signatures. Assumed Java 6.
*/
public static enum ShadingType {
FunctionBased,
Axial,
Radial,
FreeFormGouraudShadedTriangleMeshes,
LatticeFormGouraudShadedTriangleMeshes,
CoonsPatchMeshes,
TensorProductPatchMeshes;
private ShadingType() {
}
}
}