DroppedFile (简体中文)

Available since LÖVE 0.10.0
This type is not supported in earlier versions.

表示被拖拽到窗口的文件。

Note that the DroppedFile type can only be obtained from love.filedropped callback, and can't be constructed manually by the user.

Functions

These functions have parentheses in odd places. This is because the File: namespace is reserved in Mediawiki.

最近一次更新:019/10/31 追赶上英文页面进度:否

(File):close (简体中文) 关闭一个 File (简体中文).
(File):eof (简体中文) 如果已到达文件末尾 Removed in 0.10.0
(File):flush (简体中文) 将文件中所有在缓冲区的写入数据刷新到磁盘。 Added since 0.9.0
(File):getBuffer (简体中文) 获取文件的缓冲模式。 Added since 0.9.0
Object:release (简体中文) 立即摧毁对象在 Lua 中的引用 Added since 11.0

Supertypes

See Also


Other Languages