22. High-level API Reference
318
www.yoctopuce.com
YDisplayLayer
displaylayer
→
setAntialiasingMode()
Enables or disables anti-aliasing for drawing oblique lines and circles.
js
function setAntialiasingMode(
mode
)
cpp
int setAntialiasingMode( bool
mode
)
m
-(int) setAntialiasingMode : (bool)
mode
pas
function setAntialiasingMode(
mode
: boolean): LongInt
vb
function setAntialiasingMode( ) As Integer
cs
int setAntialiasingMode( bool
mode
)
java
int setAntialiasingMode( boolean
mode
)
uwp
Task<int> setAntialiasingMode( bool
mode
)
py
def setAntialiasingMode(
mode
)
php
function setAntialiasingMode(
$mode
)
es
function setAntialiasingMode(
mode
)
cmd
YDisplay
target
[-layer
layerId
] setAntialiasingMode
mode
Anti-aliasing provides a smoother aspect when looked from far enough, but it can add fuzzyness when
the display is looked from very close. At the end of the day, it is your personal choice. Anti-aliasing is
enabled by default on grayscale and color displays, but you can disable it if you prefer. This setting has
no effect on monochrome displays.
Parameters :
mode
true
to enable antialiasing,
false
to disable it.
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...