public class DefaultDropDownCreatorService extends Object implements DropDownCreatorService
Constructor and Description |
---|
DefaultDropDownCreatorService(ImageUtils imageUtils) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getDropdown(String colorHex,
String backgroundColorHex)
Get the bytes for a dropdown image for the given colours.
|
public DefaultDropDownCreatorService(ImageUtils imageUtils)
public byte[] getDropdown(String colorHex, String backgroundColorHex)
DropDownCreatorService
Input 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.
getDropdown
in interface DropDownCreatorService
colorHex
- The main color of the dropdownbackgroundColorHex
- The background colour of the dropdown. This will also be transparent. Useful for IE6Copyright © 2002-2022 Atlassian. All Rights Reserved.