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

Method drawText

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

根据指定参数和位置绘制一串文本 @param g 图形设备 @param txt 要绘制的文本 @param dx 横坐标x @param dy 纵坐标y @param font 字体 @param c 前景色 @param fontStyle 风格 @param angle 旋转角度 @param location 相对于文本中心点的偏移位置,值参考Consts.LOCATION_XX

(Graphics2D g, String txt, double dx, double dy,
			Font font, Color c, int fontStyle, int angle, int location)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

paintIconMethod · 0.95
drawPolarPointTextMethod · 0.95
drawATextMethod · 0.95
drawFreeColumnMethod · 0.95
drawLegendMethod · 0.95
drawADotMethod · 0.95
drawForeMethod · 0.95
drawWarnShapeMethod · 0.95
drawForeMethod · 0.95

Calls 15

isVerticalMethod · 0.95
getTextSizeMethod · 0.95
getRealDrawPointMethod · 0.95
isUnderlineMethod · 0.95
setStrokeMethod · 0.95
drawLineMethod · 0.95
getGraphicsMethod · 0.80
getSizeMethod · 0.80
intersectTextAreaMethod · 0.80
addTextAreaMethod · 0.80

Tested by

no test coverage detected