All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cdc.gv.atts.GvLabelLoc Maven / Gradle / Ivy

There is a newer version: 0.100.2
Show newest version
package cdc.gv.atts;

import cdc.gv.support.GvEncodable;

/**
 * Enumeration of possible label locations.
 *
 * @author Damien Carbonne
 *
 */
public enum GvLabelLoc implements GvEncodable {
    TOP,
    CENTERED,
    BOTTOM;

    @Override
    public String encode() {
        switch (this) {
        case TOP:
            return "t";
        case BOTTOM:
            return "b";
        case CENTERED:
            return "c";
        default:
            return "";
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy