all files / graphics/fonts/ ttf-glyph-info.js

83.33% Statements 10/12
33.33% Branches 1/3
80% Functions 4/5
83.33% Lines 10/12
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23       1046× 1046×                    
define(["require", "exports"], function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var TtfGlyphInfo = (function () {
        function TtfGlyphInfo() {
        }
        Object.defineProperty(TtfGlyphInfo.prototype, "empty", {
            get: function () {
                var empty = (this.index === this.width && this.width === this.charCode && this.charCode === 0);
                return empty;
            },
            enumerable: true,
            configurable: true
        });
        TtfGlyphInfo.prototype.compareTo = function (obj) {
            var glyph = obj;
            return this.index - glyph.index;
        };
        return TtfGlyphInfo;
    }());
    exports.TtfGlyphInfo = TtfGlyphInfo;
});