GraphicsGradientFill.hx 1.1 KB

12345678910111213141516171819
  1. package flash.display;
  2. extern final class GraphicsGradientFill implements IGraphicsData implements IGraphicsFill {
  3. var alphas : Array<Float>;
  4. var colors : Array<UInt>;
  5. var focalPointRatio : Float;
  6. @:flash.property var interpolationMethod(get,set) : InterpolationMethod;
  7. var matrix : flash.geom.Matrix;
  8. var ratios : Array<Float>;
  9. @:flash.property var spreadMethod(get,set) : SpreadMethod;
  10. @:flash.property var type(get,set) : GradientType;
  11. function new(?type : GradientType, ?colors : Array<UInt>, ?alphas : Array<Float>, ?ratios : Array<Float>, ?matrix : flash.geom.Matrix, ?spreadMethod : SpreadMethod, ?interpolationMethod : InterpolationMethod, focalPointRatio : Float = 0) : Void;
  12. private function get_interpolationMethod() : InterpolationMethod;
  13. private function get_spreadMethod() : SpreadMethod;
  14. private function get_type() : GradientType;
  15. private function set_interpolationMethod(value : InterpolationMethod) : InterpolationMethod;
  16. private function set_spreadMethod(value : SpreadMethod) : SpreadMethod;
  17. private function set_type(value : GradientType) : GradientType;
  18. }