Source code for LOGS.Entities.LabNotebookEntryContent.TextMarkAtributes

from typing import Optional, TypeVar

from LOGS.Entities.LabNotebookEntryContent.BasicAttribute import BasicAttribute


[docs] class TextMarkAttributeDefault(BasicAttribute): pass
_T = TypeVar("_T", bound=BasicAttribute)
[docs] class TextMarkAttributeTextColor(BasicAttribute): _color: Optional[str] = None @property def color(self) -> Optional[str]: return self._color @color.setter def color(self, value): self._color = self.checkAndConvertNullable(value, str, "color")
[docs] class TextMarkAttributeTextHighlight(BasicAttribute): _highlight: Optional[str] = None @property def highlight(self) -> Optional[str]: return self._highlight @highlight.setter def highlight(self, value): self._highlight = self.checkAndConvertNullable(value, str, "highlight")