PDFPolygonIntentValue.java 1.04 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  com.adobe.internal.pdftoolkit.core.types.ASName
 */
package com.adobe.internal.pdftoolkit.pdf.interactive.annotation;

import com.adobe.internal.pdftoolkit.core.types.ASName;
import com.adobe.internal.pdftoolkit.pdf.interactive.annotation.PDFIntentValue;

public final class PDFPolygonIntentValue
extends PDFIntentValue {
    public static final PDFPolygonIntentValue PolygonCloud = new PDFPolygonIntentValue(ASName.create((String)"PolygonCloud"));
    public static final PDFPolygonIntentValue polygondimension = new PDFPolygonIntentValue(ASName.create((String)"PolygonDimension"));

    private PDFPolygonIntentValue(ASName right) {
        super(right);
    }

    static PDFPolygonIntentValue getInstance(String right) {
        if (right.equals(PolygonCloud.getValue().asString(true))) {
            return PolygonCloud;
        }
        if (right.equals(polygondimension.getValue().asString(true))) {
            return polygondimension;
        }
        return null;
    }
}