根图形对象的属性:
回调执行 | 命令窗口显示 | 鼠标交互 | 对象标识 | 父级对象/子级对象 | 指针信息 | 屏幕信息 | 未使用
callbackobject (read-only): graphics handle, def. [](0x0) ¶正在执行回调的当前对象的图形句柄。
commandwindowsize (read-only): two-element vector, def. [0 0] ¶在新创建的命令窗口中显示的列数和行数。
fixedwidthfontname: string, def. "Courier" ¶当 "fontname" 属性设置为 "FixedWidth" 时,将用于图形对象的固定宽度字体名称。
contextmenu: graphics handle, def. [](0x0) ¶当前与此根对象关联的uicontextmenu对象的图形句柄。
currentfigure: graphics handle, def. [](0x0) ¶当前图形的图形句柄。
tag: string, def. "" ¶用于标识图形对象的用户定义字符串。
type (read-only): string ¶图形对象的类名。 type 始终为 "root"。
userdata: Any Octave data, def. [](0x0) ¶要与图形对象关联的用户定义数据。
children (read-only): vector of graphics handles, def. [](0x0) ¶根对象的子对象的图形句柄。
handlevisibility: "callback" | "off" | {"on"} ¶根对象句柄始终可见。将此设置更改为"callback"或"off"不会产生任何效果。
parent: graphics handle, def. [](0x0) ¶根对象没有父图形对象。parent始终为空。
showhiddenhandles: {"off"} | "on" ¶如果 showhiddenhandles 为 "on",则所有图形对象句柄在其父对象的子对象列表中都可见,无论其 handlevisibility 属性的值如何。
pointerlocation: two-element vector, def. [0 0] ¶尚未对根对象实现全局指针位置跟踪。 pointerlocation 未使用。根对象的 pointerlocation 始终为 [0 0]。
pointerwindow (read-only): graphics handle, def. 0 ¶尚未对根对象实现指针窗口跟踪。 pointerwindow 未使用。根对象的 pointerwindow 值始终为 0。
monitorpositions (read-only): four-element vector ¶返回连接监视器的宽度和高度。注意:Octave 仅部分实现 monitorpositions。只有主监视器的信息存储在 monitorpositions 中,这与存储在 "screensize" 属性 中的信息相同。
screendepth (read-only): double ¶显示器的颜色深度,以每像素位数表示。
screenpixelsperinch (read-only): double ¶主显示器的屏幕分辨率,单位为每英寸像素。
screensize (read-only): four-element vector ¶主显示器的大小表示为四元素向量[左、下、宽、高]。
units: "centimeters" | "characters" | "inches" | "normalized" | {"pixels"} | "points" ¶用于 "monitorpositions"、"pointerlocation" 和 "screensize" 属性的单位类型。
beingdeleted: {"off"} | "on" ¶beingdeleted未使用。
busyaction: "cancel" | {"queue"} ¶busyaction未使用。
buttondownfcn: string | function handle, def. [](0x0) ¶buttondownfcn未使用。
clipping: "off" | {"on"} ¶clipping未使用。
createfcn: string | function handle, def. [](0x0) ¶createfcn未使用。
deletefcn: string | function handle, def. [](0x0) ¶deletefcn未使用。
hittest: "off" | {"on"} ¶hittest未使用。
interruptible: "off" | {"on"} ¶interruptible未使用。
pickableparts: "all" | "none" | {"visible"} ¶pickableparts未使用。
selected: {"off"} | "on" ¶selected未使用。
selectionhighlight: "off" | {"on"} ¶selectionhighlight未使用。
visible: "off" | {"on"} ¶visible未使用。
版权所有 © 2024-2026 Octave中文网
ICP备案/许可证号:黑ICP备2024030411号-4