VS:MouseDown/ja

From Vectorworks Developer
Revision as of 11:32, 17 May 2013 by Root (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix


Description

マウスボタンが押されている場合は、TRUEと座標を返します。
FUNCTION MouseDown(
VAR p  :REAL) : BOOLEAN;
def vs.MouseDown():
    return (BOOLEAN, p)

Parameters

p REAL マウスの座標

Return Value

マウスボタンが押されていればTRUE

Example

REPEAT
UNTIL MouseDown(x1,y1);
REPEAT
UNTIL MouseDown(x2,y2);
MoveTo(x1,y1);
LineTo(x2,y2);

Version

利用可能バージョン: MiniCAD
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox
In other languages