C# Класс Svg.SvgPathBuilder

Наследование: System.ComponentModel.TypeConverter
Показать файл Открыть проект

Открытые методы

Метод Описание
CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) : object
CreatePathSegment ( char command, SvgPathSegmentList segments, List coords, bool isRelative ) : void
Parse ( string path ) : SvgPathSegmentList

Parses the specified string into a collection of path segments.

Приватные методы

Метод Описание
ParseCoordinates ( string coords ) : IEnumerable
Reflect ( PointF point, PointF mirror ) : PointF
SplitCommands ( string path ) : IEnumerable
ToAbsolute ( float x, float y, SvgPathSegmentList segments, bool isRelativeBoth ) : PointF

Creates point with absolute coorindates.

ToAbsolute ( float x, float y, SvgPathSegmentList segments, bool isRelativeX, bool isRelativeY ) : PointF

Creates point with absolute coorindates.

Описание методов

CanConvertTo() публичный метод

public CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
context ITypeDescriptorContext
destinationType System.Type
Результат bool

ConvertFrom() публичный метод

public ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
Результат object

ConvertTo() публичный метод

public ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
destinationType System.Type
Результат object

CreatePathSegment() публичный статический метод

public static CreatePathSegment ( char command, SvgPathSegmentList segments, List coords, bool isRelative ) : void
command char
segments SvgPathSegmentList
coords List
isRelative bool
Результат void

Parse() публичный статический метод

Parses the specified string into a collection of path segments.
public static Parse ( string path ) : SvgPathSegmentList
path string A containing path data.
Результат SvgPathSegmentList