22. High-level API Reference
312
www.yoctopuce.com
YDisplayLayer
displaylayer
→
moveTo()
Moves the drawing pointer of this layer to the specified position.
js
function moveTo(
x
,
y
)
cpp
int moveTo( int
x
, int
y
)
m
-(int) moveTo : (int)
x
: (int)
y
pas
function moveTo(
x
: LongInt,
y
: LongInt): LongInt
vb
function moveTo( ) As Integer
cs
int moveTo( int
x
, int
y
)
java
int moveTo( int
x
, int
y
)
uwp
Task<int> moveTo( int
x
, int
y
)
py
def moveTo(
x
,
y
)
php
function moveTo(
$x
,
$y
)
es
function moveTo(
x
,
y
)
cmd
YDisplay
target
[-layer
layerId
] moveTo
x
y
Parameters :
x
the distance from left of layer, in pixels
y
the distance from top of layer, in pixels
Returns :
YAPI_SUCCESS
if the call succeeds.
On failure, throws an exception or returns a negative error code.
Содержание Yocto-Display
Страница 1: ...Yocto Display User Manual...
Страница 2: ......
Страница 40: ...34 www yoctopuce com...
Страница 52: ...46 www yoctopuce com...
Страница 84: ...78 www yoctopuce com...
Страница 92: ...86 www yoctopuce com...
Страница 130: ...124 www yoctopuce com...
Страница 158: ...22 High level API Reference 152 www yoctopuce com On failure throws an exception or returns a negative error code...
Страница 422: ...416 www yoctopuce com...
Страница 424: ...24 Characteristics 418 www yoctopuce com...