Udostępnij za pośrednictwem


DisplayInfo Constructors

Definition

Overloads

DisplayInfo(Double, Double, Double, DisplayOrientation, DisplayRotation)

Main constructor for Display Information

DisplayInfo(Double, Double, Double, DisplayOrientation, DisplayRotation, Single)

Main constructor for Display Information

DisplayInfo(Double, Double, Double, DisplayOrientation, DisplayRotation)

Main constructor for Display Information

public DisplayInfo (double width, double height, double density, Xamarin.Essentials.DisplayOrientation orientation, Xamarin.Essentials.DisplayRotation rotation);

Parameters

width
System.Double

The width of the display

height
System.Double

The height of the display

density
System.Double

The screen density

orientation
DisplayOrientation

The current orientation

rotation
DisplayRotation

The rotation of the device.

Applies to

DisplayInfo(Double, Double, Double, DisplayOrientation, DisplayRotation, Single)

Main constructor for Display Information

public DisplayInfo (double width, double height, double density, Xamarin.Essentials.DisplayOrientation orientation, Xamarin.Essentials.DisplayRotation rotation, float rate);

Parameters

width
System.Double

The width of the display

height
System.Double

The height of the display

density
System.Double

The screen density

orientation
DisplayOrientation

The current orientation

rotation
DisplayRotation

The rotation of the device.

rate
System.Single

The refresh rate of the display.

Applies to