TextState.java 2.21 KB
/*
 * 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;
    }
}