Method RecolorForDarkModeIfRequired
RecolorForDarkModeIfRequired(bool)
Returns a version of the image recolored for dark mode if required. Returns original image if dark mode is not required.
public Bitmap RecolorForDarkModeIfRequired(bool isDark)
Parameters
isDarkboolA value indicating whether dark mode is enabled. If true, the image will be recolored for dark mode; otherwise, the original image is returned.