C# Класс CodeConnect.Touch.Helpers.TouchControlShapeFactory

Показать файл Открыть проект

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

Метод Описание
GetMiddleSegment ( ) : UIElement
GetSegment ( int totalSegments, int index ) : System.Windows.Media.Geometry
GetTextPosition ( int totalSegments, int index ) : Point

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

Метод Описание
ToCartesian ( double angle, double radius ) : Point
formatInvariant ( IFormattable format ) : string

Interpolates the string in invariant culture Note: this is the only method that requires .NET framework 4.6 If we ever need to drop to 4.5, we'll just format the string the old way.

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

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

public static GetMiddleSegment ( ) : UIElement
Результат UIElement

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

public static GetSegment ( int totalSegments, int index ) : System.Windows.Media.Geometry
totalSegments int
index int
Результат System.Windows.Media.Geometry

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

public static GetTextPosition ( int totalSegments, int index ) : Point
totalSegments int
index int
Результат Point