TextState.java
2.21 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
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* com.adobe.fontengine.font.Font
*/
package com.adobe.internal.pdftoolkit.graphicsDOM;
import com.adobe.fontengine.font.Font;
import com.adobe.internal.pdftoolkit.graphicsDOM.DocumentContext;
import java.util.Map;
/*
* This class specifies class file version 49.0 but uses Java 6 signatures. Assumed Java 6.
*/
public abstract class TextState {
private String fontName = null;
private double[] matrix = null;
private Map<String, Font> afeFontMap = null;
private int textRenderingMode = 0;
private double fontSize = 1.0;
private double textRise = 0.0;
private double textLeading = 0.0;
private boolean isTextScalingAdjusted = false;
public int getTextRenderingMode() {
return this.textRenderingMode;
}
public void setTextRenderingMode(int textRenderingMode) {
this.textRenderingMode = textRenderingMode;
}
public String getFontName() {
return this.fontName;
}
public void setFontName(String fontName) {
this.fontName = fontName;
}
public Map<String, Font> getFontMap() {
return this.afeFontMap;
}
public void setFontMap(Map<String, Font> afeFontMap) {
this.afeFontMap = afeFontMap;
}
public double[] getMatrix() {
return this.matrix;
}
public void setMatrix(double[] matrix) {
this.matrix = matrix;
}
public double getFontSize() {
return this.fontSize;
}
public void setFontSize(double fontSize) {
this.fontSize = fontSize;
}
public double getTextRise() {
return this.textRise;
}
public void setTextRise(double textRise) {
this.textRise = textRise;
}
public double getTextLeading() {
return this.textLeading;
}
public void setTextLeading(double textLeading) {
this.textLeading = textLeading;
}
public abstract void writeToDisplayArea(DocumentContext var1);
public boolean getIsTextScalingAdjusted() {
return this.isTextScalingAdjusted;
}
public void setIsTextScalingAdjusted(boolean isTextScalingAdjusted) {
this.isTextScalingAdjusted = isTextScalingAdjusted;
}
}