pyfeyn2.feynmandiagram.Styled

class pyfeyn2.feynmandiagram.Styled(*args, **kwargs)[source]

Bases: Styled

__init__(*args, **kwargs)[source]

Deprecated since version 2.2.6.

Methods

__init__(*args, **kwargs)

Deprecated since version 2.2.6.

get_style_property(key)

put_style(key, value)

Deprecated since version 0.0.0.

put_styles(**kwargs)

Deprecated since version 0.0.0.

raw_style()

with_class(clazz)

with_color(color)

with_style(style)

with_style_properties(**kwargs)

with_style_property(key, value)

Attributes

clazz

CSS class string.

style

CSS style string.

clazz: str | None = None

CSS class string.

put_style(key, value)[source]

Deprecated since version 0.0.0.

put_styles(**kwargs)[source]

Deprecated since version 0.0.0.

style: CSSString

CSS style string.