com.alibaba.simpleimage.render
类 ReleatePositionDrawTextItem
java.lang.Object
com.alibaba.simpleimage.render.DrawTextItem
com.alibaba.simpleimage.render.ReleatePositionDrawTextItem
public class ReleatePositionDrawTextItem
- extends DrawTextItem
类ReleatePositionDrawTextItem.java的实现描述:TODO 类实现描述
- 作者:
- wendell 2011-3-28 下午01:43:45
| 从类 com.alibaba.simpleimage.render.DrawTextItem 继承的方法 |
getFont, getFontColor, getFontShadowColor, getMinFontSize, getShadowTranslation, getText, setFont, setFontColor, setFontShadowColor, setMinFontSize, setText |
ReleatePositionDrawTextItem
public ReleatePositionDrawTextItem(String text,
Color fontColor,
Color fontShadowColor,
Font font,
int minFontSize,
float textWidthPercent,
float xFactor,
float yFactor)
- 参数:
text - fontColor - fontShadowColor - font - minFontSize - textWidthPercent -
drawText
public void drawText(Graphics2D graphics,
int width,
int height)
- 指定者:
- 类
DrawTextItem 中的 drawText
Copyright © 2012–2013 Alibaba Group. All rights reserved.