GraphicElement.hx 863 B

1234567891011121314
  1. package flash.text.engine;
  2. extern final class GraphicElement extends ContentElement {
  3. @:flash.property var elementHeight(get,set) : Float;
  4. @:flash.property var elementWidth(get,set) : Float;
  5. @:flash.property var graphic(get,set) : flash.display.DisplayObject;
  6. function new(?graphic : flash.display.DisplayObject, elementWidth : Float = 15, elementHeight : Float = 15, ?elementFormat : ElementFormat, ?eventMirror : flash.events.EventDispatcher, ?textRotation : TextRotation) : Void;
  7. private function get_elementHeight() : Float;
  8. private function get_elementWidth() : Float;
  9. private function get_graphic() : flash.display.DisplayObject;
  10. private function set_elementHeight(value : Float) : Float;
  11. private function set_elementWidth(value : Float) : Float;
  12. private function set_graphic(value : flash.display.DisplayObject) : flash.display.DisplayObject;
  13. }