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

Method draw2DRect

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

按照指定参数绘制一个填充的矩形,对应于柱图元 @param g 图形设备 @param x x坐标 @param y y坐标 @param w 宽度 @param h 高度 @param borderColor 边框颜色 @param borderStyle 边框风格 @param borderWeight 边框粗度 @param drawShade 绘制阴影 @param convexEdge 是否凸出边框 @param transparent 填充透明度 @param fillColor 填充颜色 @param isVertical 是否竖向柱子(柱子的横纵不同时,采用的填充渐变色不同)

(Graphics2D g, double x, double y, double w, double h,
			Color borderColor, int borderStyle, float borderWeight,
			boolean drawShade, boolean convexEdge, float transparent,
			ChartColor fillColor, boolean isVertical)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

draw2DColumnMethod · 0.95
drawingMethod · 0.95
drawLegendRectMethod · 0.95
fillRectMethod · 0.95
drawSeriesMethod · 0.95
drawMethod · 0.95
drawingMethod · 0.95
drawSeriesMethod · 0.95

Calls 15

drawRectShadowMethod · 0.95
setTransparentMethod · 0.95
setPaintMethod · 0.95
fillRectMethod · 0.95
getR1Method · 0.95
getT1Method · 0.95
getDazzelColorMethod · 0.95
drawRaisedBorderMethod · 0.95
setStrokeMethod · 0.95
drawRectMethod · 0.95
getColor1Method · 0.80
isDazzleMethod · 0.80

Tested by

no test coverage detected