public interface PlaceholderImageFactory
Modifier and Type | Method and Description |
---|---|
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.
|
BufferedImage getPlaceholderImage(StyledString styledString, InputStream iconStream, Color backgroundColor)
styledString
- a styled stringiconStream
- stream of placeholder iconbackgroundColor
- background colorBufferedImage 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 cornerBufferedImage getPlaceholderImage(List<StyledString> styledStrings, InputStream iconStream, Color backgroundColor)
styledStrings
- an ordered list of styled stringsiconStream
- stream of placeholder iconbackgroundColor
- background colorBufferedImage 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 cornerBufferedImage getPlaceholderHeading(List<StyledString> styledStrings, InputStream iconStream, Color backgroundColor)
styledStrings
- an ordered list of styled stringsiconStream
- stream of placeholder iconbackgroundColor
- background colorBufferedImage getPlaceholderImage(InputStream iconStream, int sizeInPixels)
Copyright © 2003–2017 Atlassian. All rights reserved.