pyexlatex.graphics.tikz package

Subpackages

Submodules

pyexlatex.graphics.tikz.item module

class pyexlatex.graphics.tikz.item.TikZItem(name, contents, options=None, overlay=None)[source]

Bases: pyexlatex.models.section.base.TextAreaMixin, pyexlatex.models.item.ItemBase, pyexlatex.graphics.tikz.item.TikzOptionHandler

__init__(name, contents, options=None, overlay=None)[source]
class pyexlatex.graphics.tikz.item.TikzOptionHandler[source]

Bases: object

options: Optional[Sequence[str]] = None
property options_str: str
Return type

str

pyexlatex.graphics.tikz.library module

class pyexlatex.graphics.tikz.library.TikZLibrary(contents)[source]

Bases: pyexlatex.models.item.SimpleItem

__init__(contents)[source]
name = 'usetikzlibrary'

pyexlatex.graphics.tikz.path module

class pyexlatex.graphics.tikz.path.Path(path_type, points, draw_type='--', options=None, overlay=None)[source]

Bases: pyexlatex.graphics.tikz.item.TikZItem

Lower-level class for drawing individual lines or shapes, should only be needed to be used for very custom graphics

__init__(path_type, points, draw_type='--', options=None, overlay=None)[source]
property all_options: List[str]
Return type

List[str]

property draw_join_str: str
Return type

str

name = 'path'
property path_str: str
Return type

str

class pyexlatex.graphics.tikz.path.SpecificPath(points, *args, **kwargs)[source]

Bases: pyexlatex.graphics.tikz.path.Path

Subclass this path to build specific paths such as rectangle, circle, arrow

__init__(points, *args, **kwargs)[source]
draw_type = '<invalid, do not use SpecificPath directly>'
path_type = '<invalid, do not use SpecificPath directly>'

pyexlatex.graphics.tikz.picture module

class pyexlatex.graphics.tikz.picture.TikZPicture(contents, env_modifiers=None)[source]

Bases: pyexlatex.models.section.base.TextAreaMixin, pyexlatex.models.item.Item

Container which holds any graphics.

__init__(contents, env_modifiers=None)[source]
name = 'tikzpicture'

pyexlatex.graphics.tikz.scope module

class pyexlatex.graphics.tikz.scope.Scope(contents, options=None)[source]

Bases: pyexlatex.models.section.base.TextAreaMixin, pyexlatex.models.item.Item, pyexlatex.graphics.tikz.item.TikzOptionHandler

__init__(contents, options=None)[source]
name = 'scope'