TilingPattern.java
2.37 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
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.internal.pdftoolkit.graphicsDOM;
import com.adobe.internal.pdftoolkit.graphicsDOM.ContentItem;
import com.adobe.internal.pdftoolkit.graphicsDOM.ContentItemsList;
import com.adobe.internal.pdftoolkit.graphicsDOM.ContentType;
import com.adobe.internal.pdftoolkit.graphicsDOM.DisplayArea;
import com.adobe.internal.pdftoolkit.graphicsDOM.GraphicsState;
import com.adobe.internal.pdftoolkit.graphicsDOM.Pattern;
import com.adobe.internal.pdftoolkit.graphicsDOM.TextState;
/*
* This class specifies class file version 49.0 but uses Java 6 signatures. Assumed Java 6.
*/
public abstract class TilingPattern<G extends GraphicsState, T extends TextState, C extends ContentItem<G>>
extends Pattern<G, T, C>
implements DisplayArea<G, T, C>,
ContentItem<G> {
private ContentItemsList<G, C> ciList;
private double[] bbox;
private double rotation = 0.0;
private double[] xStep = null;
private double[] yStep = null;
private double[] phase = null;
private double[] scale = null;
public TilingPattern(G graphicsState, int id) {
super(graphicsState, id);
}
@Override
public double[] getBBox() {
return this.bbox;
}
@Override
public ContentItemsList<G, C> getContentItems() {
return this.ciList;
}
@Override
public double getDisplayRotation() {
return this.rotation;
}
@Override
public void setBBox(double[] bBox) {
this.bbox = bBox;
}
@Override
public void setContentItems(ContentItemsList<G, C> contentItem) {
this.ciList = contentItem;
}
@Override
public void setDisplayRotation(double rotation) {
this.rotation = rotation;
}
public double[] getXStep() {
return this.xStep;
}
public void setXStep(double[] xStep) {
this.xStep = xStep;
}
public double[] getYStep() {
return this.yStep;
}
public void setYStep(double[] yStep) {
this.yStep = yStep;
}
public double[] getPhase() {
return this.phase;
}
public void setPhase(double[] phase) {
this.phase = phase;
}
public void setScale(double[] scale) {
this.scale = scale;
}
public double[] getScale() {
return this.scale;
}
@Override
public ContentType getType() {
return ContentType.TilingPattern;
}
}