|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PlaceholderImageFactory
Generates placeholder images.
Method Summary | |
---|---|
BufferedImage |
getPlaceholderHeading(List<StyledString> styledStrings,
InputStream iconStream,
Color backgroundColor)
Generate a placeholder image that is suitable for use as a header in a body macro. |
BufferedImage |
getPlaceholderImage(InputStream iconStream,
int sizeInPixels)
|
BufferedImage |
getPlaceholderImage(List<StyledString> styledStrings,
InputStream iconStream,
Color backgroundColor)
Generate placeholder image. |
BufferedImage |
getPlaceholderImage(List<StyledString> styledStrings,
InputStream iconStream,
Color backgroundColor,
Color borderColor,
boolean roundedCorner)
Generate placeholder image. |
BufferedImage |
getPlaceholderImage(StyledString styledString,
InputStream iconStream,
Color backgroundColor)
Generate placeholder image. |
BufferedImage |
getPlaceholderImage(StyledString styledString,
InputStream iconStream,
Color backgroundColor,
Color borderColor,
boolean roundedCorner)
Generate placeholder image. |
Method Detail |
---|
BufferedImage getPlaceholderImage(StyledString styledString, InputStream iconStream, Color backgroundColor)
styledString
- a styled stringiconStream
- stream of placeholder iconbackgroundColor
- background color
BufferedImage getPlaceholderImage(StyledString styledString, InputStream iconStream, Color backgroundColor, Color borderColor, boolean roundedCorner)
styledString
- a styled stringiconStream
- stream of placeholder iconbackgroundColor
- background colorborderColor
- border colorroundedCorner
- true if image should have rounded corner
BufferedImage getPlaceholderImage(List<StyledString> styledStrings, InputStream iconStream, Color backgroundColor)
styledStrings
- an ordered list of styled stringsiconStream
- stream of placeholder iconbackgroundColor
- background color
BufferedImage getPlaceholderImage(List<StyledString> styledStrings, InputStream iconStream, Color backgroundColor, Color borderColor, boolean roundedCorner)
styledStrings
- an ordered list of styled stringsiconStream
- stream of placeholder iconbackgroundColor
- background colorborderColor
- border colorroundedCorner
- true if image should have rounded corner
BufferedImage getPlaceholderHeading(List<StyledString> styledStrings, InputStream iconStream, Color backgroundColor)
styledStrings
- an ordered list of styled stringsiconStream
- stream of placeholder iconbackgroundColor
- background color
BufferedImage getPlaceholderImage(InputStream iconStream, int sizeInPixels)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |