22. High-level API Reference
310
www.yoctopuce.com
YDisplayLayer
displaylayer
→
hide()
Hides the layer.
js
function hide( )
cpp
int hide( )
m
-(int) hide
pas
function hide( ): LongInt
vb
function hide( ) As Integer
cs
int hide( )
java
int hide( )
uwp
Task<int> hide( )
py
def hide( )
php
function hide( )
es
function hide( )
cmd
YDisplay
target
[-layer
layerId
] hide
The state of the layer is perserved but the layer is not displayed on the screen until the next call to
unhide()
. Hiding the layer can positively affect the drawing speed, since it postpones the rendering
until all operations are completed (double-buffering).
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...