XObject.java
2.25 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
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.internal.pdftoolkit.graphicsDOM;
import com.adobe.internal.pdftoolkit.graphicsDOM.AbstractContentItem;
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.TextState;
/*
* This class specifies class file version 49.0 but uses Java 6 signatures. Assumed Java 6.
*/
public abstract class XObject<G extends GraphicsState, T extends TextState, C extends ContentItem<G>>
extends AbstractContentItem<G>
implements DisplayArea<G, T, C>,
ContentItem<G> {
private double[] matrix;
private double[] bbox;
private ContentItemsList<G, C> ciList;
private double[] CTM = null;
private boolean isIsolatedGroup;
private boolean isKnockoutGroup;
public XObject(G graphicsState, int id) {
super(graphicsState, id);
}
@Override
public ContentItemsList<G, C> getContentItems() {
return this.ciList;
}
@Override
public void setContentItems(ContentItemsList<G, C> contentItemList) {
this.ciList = contentItemList;
}
public double[] getMatrix() {
return this.matrix;
}
public void setMatrix(double[] matrix) {
this.matrix = matrix;
}
@Override
public double[] getBBox() {
return this.bbox;
}
@Override
public void setBBox(double[] bbox) {
this.bbox = bbox;
}
public double[] getCTM() {
return this.CTM;
}
public void setCTM(double[] CTM) {
this.CTM = CTM;
}
public boolean getIsIsolatedGroup() {
return this.isIsolatedGroup;
}
public void setIsIsolatedGroup(boolean isIsolatedGroup) {
this.isIsolatedGroup = isIsolatedGroup;
}
public boolean getIsKnockoutGroup() {
return this.isKnockoutGroup;
}
public void setIsKnockoutGroup(boolean isKnockoutGroup) {
this.isKnockoutGroup = isKnockoutGroup;
}
@Override
public ContentType getType() {
return ContentType.XObject;
}
}