22. High-level API Reference
www.yoctopuce.com
299
YDisplayLayer
displaylayer
→
drawCircle()
Draws an empty circle at a specified position.
js
function drawCircle(
x
,
y
,
r
)
cpp
int drawCircle( int
x
, int
y
, int
r
)
m
-(int) drawCircle : (int)
x
: (int)
y
: (int)
r
pas
function drawCircle(
x
: LongInt,
y
: LongInt,
r
: LongInt): LongInt
vb
function drawCircle( ) As Integer
cs
int drawCircle( int
x
, int
y
, int
r
)
java
int drawCircle( int
x
, int
y
, int
r
)
uwp
Task<int> drawCircle( int
x
, int
y
, int
r
)
py
def drawCircle(
x
,
y
,
r
)
php
function drawCircle(
$x
,
$y
,
$r
)
es
function drawCircle(
x
,
y
,
r
)
cmd
YDisplay
target
[-layer
layerId
] drawCircle
x
y
r
Parameters :
x
the distance from left of layer to the center of the circle, in pixels
y
the distance from top of layer to the center of the circle, in pixels
r
the radius of the circle, in pixels
Returns :
YAPI_SUCCESS
if the call succeeds.
On failure, throws an exception or returns a negative error code.
Summary of Contents for Yocto-Display
Page 1: ...Yocto Display User Manual...
Page 2: ......
Page 40: ...34 www yoctopuce com...
Page 52: ...46 www yoctopuce com...
Page 84: ...78 www yoctopuce com...
Page 92: ...86 www yoctopuce com...
Page 130: ...124 www yoctopuce com...
Page 422: ...416 www yoctopuce com...