pythagoras.style package

Submodules

Module contents

class pythagoras.style.CustomStyle(param: str, value: Any)[source]

Bases: POProperty

Generic custom style parameter.

Variables:
  • param (str) – Name of the style parameter.

  • value (Any) – Value associated with the parameter.

param: str
svg() str[source]

Compiles the property into SVG syntax.

Returns:

The corresponding SVG property.

tikz() str[source]

Compiles the property into TikZ syntax.

Returns:

The corresponding TikZ property.

value: Any