File: wipeout.rst

package info (click to toggle)
ezdxf 1.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 104,528 kB
  • sloc: python: 182,341; makefile: 116; lisp: 20; ansic: 4
file content (30 lines) | stat: -rw-r--r-- 1,133 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Wipeout
=======

.. module:: ezdxf.entities
    :noindex:

The WIPEOUT entity (`DXF Reference`_) is a polygonal area that masks underlying
objects with the current background color. The WIPEOUT entity is based on the
IMAGE entity, but usage does not require any knowledge about the IMAGE entity.

The handles to the support entities :class:`ImageDef` and :class:`ImageDefReactor`
are always "0", both are not needed by the WIPEOUT entity.

======================== ==========================================
Subclass of              :class:`ezdxf.entities.Image`
DXF type                 ``'WIPEOUT'``
Factory function         :meth:`ezdxf.layouts.BaseLayout.add_wipeout`
Inherited DXF attributes :ref:`Common graphical DXF attributes`
Required DXF version     DXF R2000 (``'AC1015'``)
======================== ==========================================

.. warning::

    Do not instantiate entity classes by yourself - always use the provided factory functions!

.. class:: Wipeout

    .. automethod:: set_masking_area

.. _DXF Reference: http://help.autodesk.com/view/OARX/2018/ENU/?guid=GUID-2229F9C4-3C80-4C67-9EDA-45ED684808DC