2
0

GroupElement.hx 1022 B

12345678910111213141516
  1. package flash.text.engine;
  2. extern final class GroupElement extends ContentElement {
  3. @:flash.property var elementCount(get,never) : 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. private function get_elementCount() : Int;
  9. function groupElements(beginIndex : Int, endIndex : Int) : GroupElement;
  10. function mergeTextElements(beginIndex : Int, endIndex : Int) : TextElement;
  11. function replaceElements(beginIndex : Int, endIndex : Int, newElements : flash.Vector<ContentElement>) : flash.Vector<ContentElement>;
  12. function setElements(value : flash.Vector<ContentElement>) : Void;
  13. function splitTextElement(elementIndex : Int, splitIndex : Int) : TextElement;
  14. function ungroupElements(groupIndex : Int) : Void;
  15. }