C# Class CustomBadge.CustomBadgeView

Inheritance: UIView
Afficher le fichier Open project: Alxandr/CustomBadge

Méthodes publiques

Méthode Description
AutoResizeBadge ( ) : void
CustomBadgeView ( string text ) : System
CustomBadgeView ( string text, bool autoResize ) : System
Draw ( RectangleF rect ) : void

Private Methods

Méthode Description
DrawBorder ( CGContext context, RectangleF rect ) : void
DrawRoundedRect ( CGContext context, RectangleF rect ) : void
DrawShine ( CGContext context, RectangleF rect ) : void
GetComponents ( UIColor colors ) : float[]
MakePath ( CGContext context, RectangleF rect ) : float
Redraw ( bool autoResize = true ) : void

Method Details

AutoResizeBadge() public méthode

public AutoResizeBadge ( ) : void
Résultat void

CustomBadgeView() public méthode

public CustomBadgeView ( string text ) : System
text string
Résultat System

CustomBadgeView() public méthode

public CustomBadgeView ( string text, bool autoResize ) : System
text string
autoResize bool
Résultat System

Draw() public méthode

public Draw ( RectangleF rect ) : void
rect System.Drawing.RectangleF
Résultat void