UNPKG

openfl

Version:

A fast, productive library for 2D cross-platform development.

44 lines (27 loc) 1.1 kB
// Class: openfl.text._internal.TextLayoutGroup var $global = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this $global.Object.defineProperty(exports, "__esModule", {value: true}); var __map_reserved = {}; // Imports var $hxClasses = require("./../../../hxClasses_stub").default; var $hxEnums = require("./../../../hxEnums_stub").default; // Constructor var TextLayoutGroup = function(format,startIndex,endIndex) { this.format = format; this.startIndex = startIndex; this.endIndex = endIndex; } // Meta TextLayoutGroup.__name__ = "openfl.text._internal.TextLayoutGroup"; TextLayoutGroup.__isInterface__ = false; TextLayoutGroup.prototype = { getAdvance: function(index) { return this.positions[index]; } }; TextLayoutGroup.prototype.__class__ = TextLayoutGroup.prototype.constructor = $hxClasses["openfl.text._internal.TextLayoutGroup"] = TextLayoutGroup; // Init // Statics TextLayoutGroup.__meta__ = { obj : { SuppressWarnings : ["checkstyle:FieldDocComment"]}} // Export exports.default = TextLayoutGroup;