C# Class Eto.Forms.Screen

Inheritance: Widget
Mostrar archivo Open project: picoe/Eto

Private Properties

Property Type Description

Public Methods

Method Description
FromPoint ( Eto.Drawing.PointF point ) : Screen

Gets the screen that contains the specified point, or the closest screen to the point if it is outside the bounds of all screens.

FromRectangle ( Eto.Drawing.RectangleF rectangle ) : Screen

Gets the screen that encompases the biggest part of the specified rectangle, or the closest screen to the rectangle if it is outside the bounds of all screens..

Screen ( ) : System.Collections.Generic

Initializes a new instance of the Eto.Forms.Screen class.

Screen ( IHandler handler ) : System.Collections.Generic

Initializes a new instance of the Eto.Forms.Screen class with the specified handler.

Used by platform implementations to create instances of a screen with a particular handler.

Method Details

FromPoint() public static method

Gets the screen that contains the specified point, or the closest screen to the point if it is outside the bounds of all screens.
public static FromPoint ( Eto.Drawing.PointF point ) : Screen
point Eto.Drawing.PointF Point to find the screen.
return Screen

FromRectangle() public static method

Gets the screen that encompases the biggest part of the specified rectangle, or the closest screen to the rectangle if it is outside the bounds of all screens..
public static FromRectangle ( Eto.Drawing.RectangleF rectangle ) : Screen
rectangle Eto.Drawing.RectangleF Rectangle to find the screen.
return Screen

Screen() public method

Initializes a new instance of the Eto.Forms.Screen class.
public Screen ( ) : System.Collections.Generic
return System.Collections.Generic

Screen() public method

Initializes a new instance of the Eto.Forms.Screen class with the specified handler.
Used by platform implementations to create instances of a screen with a particular handler.
public Screen ( IHandler handler ) : System.Collections.Generic
handler IHandler Handler for the screen.
return System.Collections.Generic