C# Class CrossUI.iOS.Dialog.Utilities.GraphicsUtil

Afficher le fichier Open project: MvvmCross/MvvmCross Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

FillRoundedRect() public static méthode

public static FillRoundedRect ( CGContext ctx, CGRect rect, float radius ) : void
ctx CGContext
rect CGRect
radius float
Résultat void

MakeRoundedPath() public static méthode

public static MakeRoundedPath ( float size, float radius ) : CGPath
size float
radius float
Résultat CGPath

MakeRoundedRectPath() public static méthode

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 ///
Résultat CGPath