22. High-level API Reference
www.yoctopuce.com
313
YDisplayLayer
displaylayer
→
reset()
Reverts the layer to its initial state (fully transparent, default settings).
js
function reset( )
cpp
int reset( )
m
-(int) reset
pas
function reset( ): LongInt
vb
function reset( ) As Integer
cs
int reset( )
java
int reset( )
uwp
Task<int> reset( )
py
def reset( )
php
function reset( )
es
function reset( )
cmd
YDisplay
target
[-layer
layerId
] reset
Reinitializes the drawing pointer to the upper left position, and selects the most visible pen color. If you
only want to erase the layer content, use the method
clear()
instead.
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...