15.3.3.1根对象属性

根图形对象的属性:

类别:

回调执行 | 命令窗口显示 | 鼠标交互 | 对象标识 | 父级对象/子级对象 | 指针信息 | 屏幕信息 | 未使用 

回调执行

广告
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. [](0x1)

根的子项的图形句柄。

广告
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]。

广告
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-2025 Octave中文网

ICP备案/许可证号:黑ICP备2024030411号-2