File: GraphicsGradientFill.hx

package info (click to toggle)
haxe 1%3A4.3.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 44,520 kB
  • sloc: ml: 137,268; ansic: 2,491; makefile: 456; java: 386; cs: 336; cpp: 318; python: 318; sh: 75; objc: 64; php: 50; xml: 31; javascript: 11
file content (19 lines) | stat: -rw-r--r-- 1,094 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package flash.display;

extern final class GraphicsGradientFill implements IGraphicsData implements IGraphicsFill {
	var alphas : Array<Float>;
	var colors : Array<UInt>;
	var focalPointRatio : Float;
	@:flash.property var interpolationMethod(get,set) : InterpolationMethod;
	var matrix : flash.geom.Matrix;
	var ratios : Array<Float>;
	@:flash.property var spreadMethod(get,set) : SpreadMethod;
	@:flash.property var type(get,set) : GradientType;
	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;
	private function get_interpolationMethod() : InterpolationMethod;
	private function get_spreadMethod() : SpreadMethod;
	private function get_type() : GradientType;
	private function set_interpolationMethod(value : InterpolationMethod) : InterpolationMethod;
	private function set_spreadMethod(value : SpreadMethod) : SpreadMethod;
	private function set_type(value : GradientType) : GradientType;
}