Method GetSvgSize
GetSvgSize(float, int, object?)
Calculates the size of an SVG element based on a scaling factor and a base size.
public static int GetSvgSize(float scaleFactor, int baseSize = 16, object? context = null)
Parameters
scaleFactorfloatThe scaling factor to apply to the base size. Must be a valid float value.
baseSizeintThe base size of the SVG element. Defaults to 16 if not specified.
contextobjectThe context object.
Returns
- int
The calculated size of the SVG element as an integer.