![Yoctopuce Yocto-Display User Manual Download Page 321](http://html1.mh-extra.com/html/yoctopuce/yocto-display/yocto-display_user-manual_3418946321.webp)
22. High-level API Reference
www.yoctopuce.com
315
YDisplayLayer
displaylayer
→
selectEraser()
Selects an eraser instead of a pen for all subsequent drawing functions, except for bitmap copy
functions.
js
function selectEraser( )
cpp
int selectEraser( )
m
-(int) selectEraser
pas
function selectEraser( ): LongInt
vb
function selectEraser( ) As Integer
cs
int selectEraser( )
java
int selectEraser( )
uwp
Task<int> selectEraser( )
py
def selectEraser( )
php
function selectEraser( )
es
function selectEraser( )
cmd
YDisplay
target
[-layer
layerId
] selectEraser
Any point drawn using the eraser becomes transparent (as when the layer is empty), showing the other
layers beneath it.
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...