C# Class Xamarin.Canvas.Android.Canvas

Inheritance: Android.Views.ViewGroup, ICanvas, ICanvasEngine
Afficher le fichier Open project: Clancey/Canvas Class Usage Examples

Méthodes publiques

Méthode Description
Canvas ( Android.Content.Context context ) : System
Destroy ( ) : void
FocusNode ( Node node ) : void
ImageSize ( string file ) : Size
InputNodeAt ( Node rootNode, double x, double y ) : Node
RenderScene ( Node rootNode ) : void
SetBackground ( System.Color color ) : void
SetCursor ( CursorType type ) : void
ShowMenu ( Node node, int rootX, int rootY, uint button ) : void
TextExtents ( string text, TextOptions options ) : Size

Méthodes protégées

Méthode Description
OnLayout ( bool changed, int l, int t, int r, int b ) : void

Private Methods

Méthode Description
AddChild ( Node node ) : void
RemoveChild ( Node node ) : void
ViewForNode ( Node node ) : NodeView

Method Details

Canvas() public méthode

public Canvas ( Android.Content.Context context ) : System
context Android.Content.Context
Résultat System

Destroy() public méthode

public Destroy ( ) : void
Résultat void

FocusNode() public méthode

public FocusNode ( Node node ) : void
node Node
Résultat void

ImageSize() public méthode

public ImageSize ( string file ) : Size
file string
Résultat Size

InputNodeAt() public méthode

public InputNodeAt ( Node rootNode, double x, double y ) : Node
rootNode Node
x double
y double
Résultat Node

OnLayout() protected méthode

protected OnLayout ( bool changed, int l, int t, int r, int b ) : void
changed bool
l int
t int
r int
b int
Résultat void

RenderScene() public méthode

public RenderScene ( Node rootNode ) : void
rootNode Node
Résultat void

SetBackground() public méthode

public SetBackground ( System.Color color ) : void
color System.Color
Résultat void

SetCursor() public méthode

public SetCursor ( CursorType type ) : void
type CursorType
Résultat void

ShowMenu() public méthode

public ShowMenu ( Node node, int rootX, int rootY, uint button ) : void
node Node
rootX int
rootY int
button uint
Résultat void

TextExtents() public méthode

public TextExtents ( string text, TextOptions options ) : Size
text string
options TextOptions
Résultat Size