Class SvgUnitCollectionConverter
- Namespace
- Svg
- Assembly
- Svg.dll
A class to convert string into SvgUnitCollection instances.
public class SvgUnitCollectionConverter : TypeConverter
- Inheritance
-
SvgUnitCollectionConverter
- Inherited Members
Methods
ConvertFrom(ITypeDescriptorContext, CultureInfo, object)
Converts the given object to the type of this converter, using the specified context and culture information.
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
context
ITypeDescriptorContextAn ITypeDescriptorContext that provides a format context.
culture
CultureInfoThe CultureInfo to use as the current culture.
value
objectThe object to convert.
Returns
Exceptions
- NotSupportedException
The conversion cannot be performed.
Parse(ReadOnlySpan<char>)
public static SvgUnitCollection Parse(ReadOnlySpan<char> points)
Parameters
points
ReadOnlySpan<char>