点击或拖拽改变大小

ScreenImpl 构造函数

初始化 ScreenImpl 类的一个新实例

命名空间:  CPF.Linux
程序集:  CPF.Linux (在 CPF.Linux.dll 中) 版本:0.8.8.5
语法
C#
public ScreenImpl(
	Rect bounds,
	Rect workingArea,
	bool primary,
	string name,
	Nullable<Size> physicalSize,
	Nullable<double> pixelDensity
)

参数

bounds
类型:CPF.DrawingRect

[缺少 "M:CPF.Linux.ScreenImpl.#ctor(CPF.Drawing.Rect,CPF.Drawing.Rect,System.Boolean,System.String,System.Nullable{CPF.Drawing.Size},System.Nullable{System.Double})" 的 <param name="bounds"/> 文档]

workingArea
类型:CPF.DrawingRect

[缺少 "M:CPF.Linux.ScreenImpl.#ctor(CPF.Drawing.Rect,CPF.Drawing.Rect,System.Boolean,System.String,System.Nullable{CPF.Drawing.Size},System.Nullable{System.Double})" 的 <param name="workingArea"/> 文档]

primary
类型:SystemBoolean

[缺少 "M:CPF.Linux.ScreenImpl.#ctor(CPF.Drawing.Rect,CPF.Drawing.Rect,System.Boolean,System.String,System.Nullable{CPF.Drawing.Size},System.Nullable{System.Double})" 的 <param name="primary"/> 文档]

name
类型:SystemString

[缺少 "M:CPF.Linux.ScreenImpl.#ctor(CPF.Drawing.Rect,CPF.Drawing.Rect,System.Boolean,System.String,System.Nullable{CPF.Drawing.Size},System.Nullable{System.Double})" 的 <param name="name"/> 文档]

physicalSize
类型:SystemNullableSize

[缺少 "M:CPF.Linux.ScreenImpl.#ctor(CPF.Drawing.Rect,CPF.Drawing.Rect,System.Boolean,System.String,System.Nullable{CPF.Drawing.Size},System.Nullable{System.Double})" 的 <param name="physicalSize"/> 文档]

pixelDensity
类型:SystemNullableDouble

[缺少 "M:CPF.Linux.ScreenImpl.#ctor(CPF.Drawing.Rect,CPF.Drawing.Rect,System.Boolean,System.String,System.Nullable{CPF.Drawing.Size},System.Nullable{System.Double})" 的 <param name="pixelDensity"/> 文档]

参见