ContentElement.hx 1.4 KB

1234567891011121314151617181920212223242526
  1. package flash.text.engine;
  2. extern class ContentElement {
  3. @:flash.property var elementFormat(get,set) : ElementFormat;
  4. @:flash.property var eventMirror(get,set) : flash.events.EventDispatcher;
  5. @:flash.property var groupElement(get,never) : GroupElement;
  6. @:flash.property var rawText(get,never) : String;
  7. @:flash.property var text(get,never) : String;
  8. @:flash.property var textBlock(get,never) : TextBlock;
  9. @:flash.property var textBlockBeginIndex(get,never) : Int;
  10. @:flash.property var textRotation(get,set) : TextRotation;
  11. var userData : Dynamic;
  12. function new(?elementFormat : ElementFormat, ?eventMirror : flash.events.EventDispatcher, ?textRotation : TextRotation) : Void;
  13. private function get_elementFormat() : ElementFormat;
  14. private function get_eventMirror() : flash.events.EventDispatcher;
  15. private function get_groupElement() : GroupElement;
  16. private function get_rawText() : String;
  17. private function get_text() : String;
  18. private function get_textBlock() : TextBlock;
  19. private function get_textBlockBeginIndex() : Int;
  20. private function get_textRotation() : TextRotation;
  21. private function set_elementFormat(value : ElementFormat) : ElementFormat;
  22. private function set_eventMirror(value : flash.events.EventDispatcher) : flash.events.EventDispatcher;
  23. private function set_textRotation(value : TextRotation) : TextRotation;
  24. static final GRAPHIC_ELEMENT : UInt;
  25. }