7 use \ILIAS\UI\Component\Symbol\Icon\Icon;
8 use \ILIAS\UI\Component\Image\Image;
getColor()
Return the given color.
withLeadText(string $text)
Set image as lead.
Color expresses a certain color by giving the mixing ratio in the RGB color space.
This describes how a icon could be modified during construction of UI.
withNoLead()
Reset lead to null.
Common interface to all items.
withLeadImage(Image $image)
Set image as lead.
withLeadIcon(Icon $icon)
Set icon as lead.
withColor(Color $a_color)
Set a color.