LddDisplayInfo class

屏幕信息

Constructors

LddDisplayInfo({required String name, required int id, required int x, required int y, required int width, required int height, required double rotation, required double scaleFactor, required double frequency, required bool isPrimary})
const

Properties

frequency → double
显示刷新率。
final
hashCode → int
The hash code for this object.
no setteroverride
height → int
显示像素高度。
final
id → int
与显示器关联的唯一标识符。
final
isPrimary → bool
屏幕是否为主屏幕
final
name → String
显示名称
final
rotation → double
可以是0、90、180、270,表示屏幕按时钟方向旋转的度数。
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scaleFactor → double
输出设备的像素比例因子。
final
width → int
显示像素宽度。
final
x → int
显示器x坐标
final
y → int
显示器y坐标。
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override