ooodev.format.proto.structs.hatch_struct_t module
- protocol ooodev.format.proto.structs.hatch_struct_t.HatchStructT[source]
Bases:
StyleT
,Protocol
Hatch Struct Protocol
Classes that implement this protocol must have the following methods / attributes:
- from_obj(obj: Any) HatchStructT
- from_obj(obj: Any, **kwargs) HatchStructT
- from_obj(**kwds)
Helper for @overload to raise when called.
- __protocol_attrs__ = {'add_event_listener', 'add_event_observer', 'apply', 'backup', 'copy', 'from_obj', 'get_attrs', 'get_props', 'get_uno_struct', 'get_update_obj', 'has_update_obj', 'on_applied', 'on_applying', 'on_property_backed_up', 'on_property_backing_up', 'on_property_restore_set', 'on_property_restore_setting', 'on_property_set', 'on_property_set_error', 'prop_angle', 'prop_color', 'prop_distance', 'prop_format_kind', 'prop_has_attribs', 'prop_has_backup', 'prop_parent', 'prop_style', 'remove_event_listener', 'remove_event_observer', 'restore', 'set_update_obj', 'support_service', 'update'}
- property prop_color: Color
Gets/Sets the color of the hatch lines.
- Return type:
NewType()
(Color
,int
)
- property prop_distance: UnitMM
Gets/Sets the distance between the lines in the hatch (in
mm
units).- Return type:
- property prop_style: HatchStyle
Gets/Sets the style of the hatch.
- Return type:
HatchStyle