MCPcopy Create free account
hub / github.com/SPLWare/esProc / getGradientPaint

Method getGradientPaint

src/main/java/com/scudata/chart/Utils.java:258–320  ·  view source on GitHub ↗

该算法使用矩形的对角线为填充梯度的长度;角度angle为对角线从底边逆时针的旋转角度; @param x @param y @param width @param height @param color1 @param color2 @param angle @return

(double x, double y, double width,
			double height, Color color1, Color color2, int angle)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

setPaintMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected