EarseMode command

4 visualizaciones (últimos 30 días)
koko kinder
koko kinder el 6 de Feb. de 2012
Hi,
what does 'EarseMode' used for in line drawing?

Respuesta aceptada

Jan
Jan el 6 de Feb. de 2012
If a drawn line is deleted, the remaining figure can be re-drawn in different ways:
  • 'normal': The figure is re-drawn from scratch without the deleted line. This is accurate, but time-consuming.
  • 'none': The deleted line is not removed from the figure actively. This is fast, but of course the line does not vanish before the figure is redrawn manually, e.g. by refresh.
  • 'xor': The line pixels are xor'ed. For overlapping objects this does not delete the line accurately.
  • 'background': Replace line pixels by the background color. This removes pixels of objects under the drawn line also.
Adding graphic objects with 'EraseMode' set to 'none' does not trigger a redrawing of the scene. This can help to avoid flickering in animations.

Más respuestas (1)

Sean de Wolski
Sean de Wolski el 6 de Feb. de 2012

Categorías

Más información sobre Graphics Performance en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by