Screen
Screen
概述
Screen 是 Aspose.Html FOSS 中用于 Python 的一个类。
浏览器屏幕几何 — 所有数值均为存根(服务器端上下文)。
此类提供 1 个方法,用于在 Python 程序中处理 Screen 对象。可用的方法包括:__init__。在安装 Aspose.Html FOSS for Python 包之后,所有公共成员对任何 Python 应用程序均可访问。属性:avail_height, avail_width, color_depth, height, pixel_depth, width。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
width | int | 读取 | 获取宽度。 |
height | int | 读取 | 获取高度。 |
avail_width | int | 读取 | 获取可用宽度。 |
avail_height | int | 读取 | 获取可用高度。 |
color_depth | int | 读取 | 获取颜色深度。 |
pixel_depth | int | 读取 | 获取像素深度。 |
方法
| 签名 | 描述 |
|---|---|
__init__() | Calls init 在此 Screen 实例上。 |