Groovy Documentation

grails-app.services
Class FontImageService

java.lang.Object
  grails-app.services.FontImageService

class FontImageService

Property Summary
boolean transactional

 
Constructor Summary
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
 

Property Detail

transactional

boolean transactional


 
Constructor Detail

FontImageService

FontImageService()


 
Method Detail

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