dips.TextFormatVal module#
Generated wrapper for TextFormat protobuf message.
- class dips.TextFormatVal.TextFormatVal(text_color: ColorSurrogateVal | None = None, proto_message: Any | None = None)#
Bases:
objectSimple wrapper for TextFormat with Pythonic getters and setters.
- copy()#
Create a copy of this wrapper.
- property font_name: str#
Get the FontName field value.
- property font_size: int#
Get the FontSize field value.
- classmethod from_proto(proto_message)#
Create wrapper from existing protobuf message.
- property text_color: ColorSurrogateVal#
Get the TextColor field as a wrapper.
- property text_horizontal_alignment: Any#
Get the TextHorizontalAlignment field value.
- to_proto()#
Get the underlying protobuf message.