
22. High-level API Reference
302
www.yoctopuce.com
YDisplayLayer
displaylayer
→
drawPixel()
Draws a single pixel at the specified position.
js
function drawPixel(
x
,
y
)
cpp
int drawPixel( int
x
, int
y
)
m
-(int) drawPixel : (int)
x
: (int)
y
pas
function drawPixel(
x
: LongInt,
y
: LongInt): LongInt
vb
function drawPixel( ) As Integer
cs
int drawPixel( int
x
, int
y
)
java
int drawPixel( int
x
, int
y
)
uwp
Task<int> drawPixel( int
x
, int
y
)
py
def drawPixel(
x
,
y
)
php
function drawPixel(
$x
,
$y
)
es
function drawPixel(
x
,
y
)
cmd
YDisplay
target
[-layer
layerId
] drawPixel
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...