public class DefaultHeaderSeparatorService extends Object implements HeaderSeparatorService
| Constructor and Description |
|---|
DefaultHeaderSeparatorService(ImageUtils imageUtils) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getSeparator(String colorHex,
String backgroundColorHex)
Get the bytes for a separator image for the given colours.
|
public DefaultHeaderSeparatorService(ImageUtils imageUtils)
public byte[] getSeparator(String colorHex, String backgroundColorHex)
HeaderSeparatorServiceInput strings can ontain a leading hash (#) and can be a 3 char or 6 char hex string. See any web tutorial for what colour the string represents. If hex colors are wrong, default colours are returned. Black arrow and a transparent white background.
getSeparator in interface HeaderSeparatorServicecolorHex - The main color of the separatorbackgroundColorHex - The background colour of the separator. This will also be transparent. Useful for IE6Copyright © 2002-2019 Atlassian. All Rights Reserved.