C# Класс CrossUI.iOS.Dialog.Utilities.GraphicsUtil

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
FillRoundedRect ( CGContext ctx, CGRect rect, float radius ) : void
MakeRoundedPath ( float size, float radius ) : CGPath
MakeRoundedRectPath ( CGRect rect, float radius ) : CGPath

Creates a path for a rectangle with rounded corners

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

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

public static FillRoundedRect ( CGContext ctx, CGRect rect, float radius ) : void
ctx CGContext
rect CGRect
radius float
Результат void

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

public static MakeRoundedPath ( float size, float radius ) : CGPath
size float
radius float
Результат CGPath

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

Creates a path for a rectangle with rounded corners
public static MakeRoundedRectPath ( CGRect rect, float radius ) : CGPath
rect CGRect /// The rectangle bounds ///
radius float /// The size of the rounded corners ///
Результат CGPath