GroupElement.hx 966 B

123456789101112131415
  1. package flash.text.engine;
  2. @:final extern class GroupElement extends ContentElement {
  3. var elementCount(default,null) : Int;
  4. function new(?elements : flash.Vector<ContentElement>, ?elementFormat : ElementFormat, ?eventMirror : flash.events.EventDispatcher, ?textRotation : TextRotation) : Void;
  5. function getElementAt(index : Int) : ContentElement;
  6. function getElementAtCharIndex(charIndex : Int) : ContentElement;
  7. function getElementIndex(element : ContentElement) : Int;
  8. function groupElements(beginIndex : Int, endIndex : Int) : GroupElement;
  9. function mergeTextElements(beginIndex : Int, endIndex : Int) : TextElement;
  10. function replaceElements(beginIndex : Int, endIndex : Int, newElements : flash.Vector<ContentElement>) : flash.Vector<ContentElement>;
  11. function setElements(value : flash.Vector<ContentElement>) : Void;
  12. function splitTextElement(elementIndex : Int, splitIndex : Int) : TextElement;
  13. function ungroupElements(groupIndex : Int) : Void;
  14. }