feynml.sheet.SheetHandler
- class feynml.sheet.SheetHandler[source]
Bases:
objectSheet class.
- __init__()
Methods
__init__()add_rule(rule)Add a rule to the style.
add_rules(rules)Add rules to the style.
Return the sheet.
Return the sheet.
get_style(obj[, xml])Get the style of an object.
get_style_property(obj, property_name[, xml])Get a style property of an object.
with_rule(rule)Replace rules of the style.
with_rules(rules)Replace rules of the style.
with_sheet(sheet)Return the object with the sheet.
Attributes
default_sheet- get_style(obj, xml: XML = None) CSSStyleDeclaration[source]
Get the style of an object.
This is preferred over accessing the style attribute directly, since it includes class and pdgid definitions.