Tag Information
Tag Class org.richfaces.taglib.Paint2DTag
TagExtraInfo Class None
Body Content JSP
Display Name None
Attributes
Name Required Request-time Type Description
align false false java.lang.String bottom|middle|top|left|right Deprecated. This attribute specifies the position of an IMG, OBJECT, or APPLET with respect to its context. The following values for align concern the object's position with respect to surrounding text: * bottom: means that the bottom of the object should be vertically aligned with the current baseline. This is the default value. * middle: means that the center of the object should be vertically aligned with the current baseline. * top: means that the top of the object should be vertically aligned with the top of the current text line
bgcolor false false java.lang.String Background color of painted image. Default value is 'transparent' which means no background fill. Hex colors can be used, as well as common color names. Invalid values are treated as transparent. Note, that JPEG format doesn't support transparency, and transparent background is painted black. Also note, that several browsers (e.g. IE6) do not support PNG transparency
binding false false java.lang.String The attribute takes a value-binding expression for a component property of a backing bean
border false false java.lang.String Deprecated. This attribute specifies the width of an IMG or OBJECT border, in pixels. The default value for this attribute depends on the user agent
cacheable false false java.lang.String Supported (or not) client/server caching for generated images. Caching on client supported by properly sending and processing of HTTP headers (Last-Modified, Expires, If-Modified-Since, etc.) Server-side caching is supported by application-scope object cache. For build of cache key use "value" attribute, serialized to URI
converter false false java.lang.String Id of Converter to be used or reference to a Converter
data false false java.lang.String Value calculated at render time and stored in Image URI (as part of cache Key), at paint time passed to a paint method. It can be used for updating cache at change of image generating conditions, and for creating paint beans as "Lightweight" pattern components (request scope). IMPORTANT: Since serialized data stored in URI, avoid using big objects
format false false java.lang.String format Name of format for sending a generated image. It currently supports "jpeg" (24 bit, default), "gif" (8 bit with transparency), "png" (32 bit with transparency)
height false false java.lang.String Height in pixels of image (for paint canvas and HTML attribute)
hspace false false java.lang.String Deprecated. This attribute specifies the amount of white space to be inserted to the left and right of an IMG, APPLET, or OBJECT. The default value is not specified, but is generally a small, non-zero length
id false false java.lang.String Every component may have a unique id that is automatically created if omitted
lang false false java.lang.String Code describing the language used in the generated markup for this component
paint false false java.lang.String The method calls expression to paint Image on prepared Buffered image. It must have two parameters with a type of java.awt.Graphics2D (graphics to paint) and Object (restored from URI "data" property). For painting used 32-bit RGBA color model (for 8-bit images used Diffusion filtration before sending)
rendered false false java.lang.String If "false", this component is not rendered
style false false java.lang.String CSS style(s) is/are to be applied when this component is rendered
styleClass false false java.lang.String Corresponds to the HTML class attribute
title false false java.lang.String Advisory title information about markup elements generated for this component
value false false java.lang.String The initial value to set when rendered for the first time
vspace false false java.lang.String Deprecated. This attribute specifies the amount of white space to be inserted above and below an IMG, APPLET, or OBJECT. The default value is not specified, but is generally a small, non-zero length
width false false java.lang.String Width in pixels of image (for paint canvas and HTML attribute)