Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 672 Bytes

factory.texture_text.rst

File metadata and controls

33 lines (24 loc) · 672 Bytes

texture_text

.. autofunction:: k3d.factory.texture_text

.. seealso::
    - :ref:`label`
    - :ref:`text`
    - :ref:`text2d`

Examples

import k3d

plt_texture_text = k3d.texture_text('Texture',
                                    position=[0, 0, 0],
                                    font_face='Calibri',
                                    font_weight=600,
                                    color=0xa2ffc8)

plot = k3d.plot()
plot += plt_texture_text
plot.display()
.. k3d_plot ::
  :filename: plots/factory/texture_text_basic_plot.py