public static SVGPreserveAspectRatioAlign valueOf()

in shared/java/svg/SVGPreserveAspectRatioAlign.java [29:43]


    public static SVGPreserveAspectRatioAlign valueOf(int value) {
        switch (value) {
            case 0x00: return XMIN_YMIN;
            case 0x01: return XMID_YMIN;
            case 0x02: return XMAX_YMIN;
            case 0x04: return XMIN_YMID;
            case 0x05: return XMID_YMID;
            case 0x06: return XMAX_YMID;
            case 0x08: return XMIN_YMAX;
            case 0x09: return XMID_YMAX;
            case 0x0a: return XMAX_YMAX;
            case 0x10: return NONE;
            default: throw new IllegalArgumentException("Unknown SVGPreserveAspectRatioAlign value: " + value);
        }
    }