Method ReloadFromSvg
ReloadFromSvg(TKey, bool)
Reloads an image from an SVG source and updates it with the specified size and color.
public virtual void ReloadFromSvg(TKey imageKey, bool isSmallImage)
Parameters
imageKeyTKeyThe key identifying the SVG image to reload.
isSmallImageboolA value indicating whether the image should be reloaded as a small image. If true, the image is resized to a smaller dimension; otherwise, it is resized to a larger dimension.
Remarks
This method retrieves the SVG image associated with the specified
imageKey, applies the corresponding color, and resizes it based
on the isSmallImage parameter.
The updated image is then set in the appropriate storage.