Method GetNormalAndDisabledSvgImages
GetNormalAndDisabledSvgImages(SvgImage?, KnownButton?, AbstractControl, CoordAndUnit?)
Gets the normal and disabled images as Image from the specified SvgImage and KnownButton.
public static (Image? Normal, Image? Disabled) GetNormalAndDisabledSvgImages(SvgImage? svg, KnownButton? btn, AbstractControl control, CoordAndUnit? size = null)
Parameters
svgSvgImageThe SVG image to process. Optional. If not specified, the SVG image is retrieved based on the known button image.
btnKnownButton?The known button for which images are retrieved.
controlAbstractControlThe control which affects image rendering and is used to get scale factor.
sizeCoordAndUnit?The size of the image. If not specified, the default size for the toolbar images is used.