C# Класс LiveCharts.Uwp.Components.GeometryParser

A String-To-PathGeometry Parser from https://stringtopathgeometry.codeplex.com/
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Convert ( string path ) : PathGeometry

Main conversion routine - converts string path data definition to PathGeometry object

ConvertBack ( PathGeometry geometry ) : string

Main back conversion routine - converts PathGeometry object to its string equivalent

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

Метод Описание
EnsureFigure ( ) : void
GetNumericListSeparator ( IFormatProvider provider ) : char
IsNumber ( bool allowComma ) : bool
More ( ) : bool
Parse ( string path ) : PathGeometry

Main parser routine, which loops over each char in received string, and performs actions according to command/parameter being passed

ParseBack ( PathGeometry geometry ) : string
ReadBool ( ) : bool
ReadNumber ( bool allowComma ) : double
ReadPoint ( char cmd, bool allowcomma ) : Point
ReadToken ( ) : bool
Reflect ( ) : Point
SkipDigits ( bool signAllowed ) : void
SkipWhiteSpace ( bool allowComma ) : bool
ThrowBadToken ( ) : void

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

Convert() публичный Метод

Main conversion routine - converts string path data definition to PathGeometry object
public Convert ( string path ) : PathGeometry
path string String with path data definition
Результат Windows.UI.Xaml.Media.PathGeometry

ConvertBack() публичный Метод

Main back conversion routine - converts PathGeometry object to its string equivalent
public ConvertBack ( PathGeometry geometry ) : string
geometry Windows.UI.Xaml.Media.PathGeometry Path Geometry object
Результат string