Table of Contents

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 ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context.

culture CultureInfo

The CultureInfo to use as the current culture.

value object

The object to convert.

Returns

object

An object that represents the converted value.

Exceptions

NotSupportedException

The conversion cannot be performed.

Parse(ReadOnlySpan<char>)

public static SvgUnitCollection Parse(ReadOnlySpan<char> points)

Parameters

points ReadOnlySpan<char>

Returns

SvgUnitCollection