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