This function converts a unit object into absolute units. Absolute units are unaffected, but non-absolute units are converted into "null" units.
此功能转换成绝对单位的单位的对象。绝对单位不受影响,但非绝对单位"null"单位的转换。
用法----------Usage----------
absolute.size(unit)
参数----------Arguments----------
参数:unit
An object of class "unit".
对象类"unit"。
Details
详情----------Details----------
Absolute units are things like "inches", "cm", and "lines". Non-absolute units are "npc" and "native".
绝对单位是像"inches","cm","lines"的东西。非绝对单位"npc"和"native"。
This function is designed to be used in widthDetails and heightDetails methods.
此功能被设计用于widthDetails和heightDetails方法。
值----------Value----------
An object of class "unit".
对象类"unit"。
作者(S)----------Author(s)----------
Paul Murrell
参见----------See Also----------
widthDetails and heightDetails methods.
widthDetails和heightDetails方法。