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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135
|
Arrows
======
.. module:: ezdxf.render.arrows
This module provides support for the AutoCAD standard arrow heads used in
DIMENSION, LEADER and MULTILEADER entities. Library user don't have to use the
:attr:`ARROWS` objects directly, but should know the arrow names stored in it as
attributes. The arrow names should be accessed that way:
.. code-block:: python
import ezdxf
arrow = ezdxf.ARROWS.closed_filled
.. attribute:: ARROWS
Single instance of :class:`_Arrows` to work with.
.. class:: _Arrows
Management object for standard arrows.
.. attribute:: __acad__
Set of AutoCAD standard arrow names.
.. attribute:: __ezdxf__
Set of arrow names special to `ezdxf`.
.. attribute:: architectural_tick
.. image:: gfx/_ARCHTICK.png
.. attribute:: closed_filled
.. image:: gfx/_CLOSEDFILLED.png
.. attribute:: dot
.. image:: gfx/_DOT.png
.. attribute:: dot_small
.. image:: gfx/_DOTSMALL.png
.. attribute:: dot_blank
.. image:: gfx/_DOTBLANK.png
.. attribute:: origin_indicator
.. image:: gfx/_ORIGIN.png
.. attribute:: origin_indicator_2
.. image:: gfx/_ORIGIN2.png
.. attribute:: open
.. image:: gfx/_OPEN.png
.. attribute:: right_angle
.. image:: gfx/_OPEN90.png
.. attribute:: open_30
.. image:: gfx/_OPEN30.png
.. attribute:: closed
.. image:: gfx/_CLOSED.png
.. attribute:: dot_smallblank
.. image:: gfx/_SMALL.png
.. attribute:: none
.. image:: gfx/_NONE.png
.. attribute:: oblique
.. image:: gfx/_OBLIQUE.png
.. attribute:: box_filled
.. image:: gfx/_BOXFILLED.png
.. attribute:: box
.. image:: gfx/_BOXBLANK.png
.. attribute:: closed_blank
.. image:: gfx/_CLOSEDBLANK.png
.. attribute:: datum_triangle_filled
.. image:: gfx/_DATUMFILLED.png
.. attribute:: datum_triangle
.. image:: gfx/_DATUMBLANK.png
.. attribute:: integral
.. image:: gfx/_INTEGRAL.png
.. attribute:: ez_arrow
.. image:: gfx/EZ_ARROW.png
.. attribute:: ez_arrow_blank
.. image:: gfx/EZ_ARROW_BLANK.png
.. attribute:: ez_arrow_filled
.. image:: gfx/EZ_ARROW_FILLED.png
.. automethod:: is_acad_arrow
.. automethod:: is_ezdxf_arrow
.. automethod:: insert_arrow
.. automethod:: render_arrow
.. automethod:: virtual_entities
|