grails-app.services
Class FontImageService
java.lang.Object
grails-app.services.FontImageService
class FontImageService
Method Summary |
RenderedImage
|
createImage(java.lang.String text, java.lang.String fontName, java.lang.String style, int size, java.lang.String color)
|
private java.util.Map
|
determineBounds(java.awt.Font font, java.lang.String text)
|
private int
|
getFontStyle(java.lang.String style)
|
Methods inherited from class java.lang.Object
|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
transactional
boolean transactional
-
FontImageService
FontImageService()
-
createImage
public RenderedImage createImage(java.lang.String text, java.lang.String fontName, java.lang.String style, int size, java.lang.String color)
-
determineBounds
private java.util.Map determineBounds(java.awt.Font font, java.lang.String text)
-
getFontStyle
private int getFontStyle(java.lang.String style)
-
Groovy Documentation