C# Class Xamarin.Canvas.Mac.Canvas

Inheritance: MonoMac.AppKit.NSView, ICanvas, ICanvasEngine
Afficher le fichier Open project: Clancey/Canvas Class Usage Examples

Méthodes publiques

Méthode Description
Canvas ( ) : System
Destroy ( ) : void
DrawRect ( System dirtyRect ) : 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

Method Details

Canvas() public méthode

public Canvas ( ) : System
Résultat System

Destroy() public méthode

public Destroy ( ) : void
Résultat void

DrawRect() public méthode

public DrawRect ( System dirtyRect ) : void
dirtyRect System
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

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