ooodev.format.proto.area.fill_pattern_t module

protocol ooodev.format.proto.area.fill_pattern_t.FillPatternT[source]

Bases: StyleT, Protocol

Fill Pattern Protocol

Classes that implement this protocol must have the following methods / attributes:

__init__(*, bitmap=None, name='', tile=True, stretch=False, auto_name=False)[source]
Parameters:
  • bitmap (XBitmap | None) –

  • name (str) –

  • tile (bool) –

  • stretch (bool) –

  • auto_name (bool) –

Return type:

None

from_obj(obj: Any) FillPatternT
from_obj(obj: Any, **kwargs) FillPatternT
from_obj(**kwds)

Helper for @overload to raise when called.

from_preset(preset: PresetPatternKind) FillPatternT
from_preset(preset: PresetPatternKind, **kwargs) FillPatternT
from_preset(**kwds)

Helper for @overload to raise when called.

__protocol_attrs__ = {'add_event_listener', 'add_event_observer', 'apply', 'backup', 'copy', 'from_obj', 'from_preset', 'get_attrs', 'get_props', '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_format_kind', 'prop_has_attribs', 'prop_has_backup', 'prop_parent', 'prop_stretch', 'prop_tile', 'remove_event_listener', 'remove_event_observer', 'restore', 'set_update_obj', 'support_service', 'update'}
property prop_stretch: bool

Gets sets if fill image is stretched

Return type:

bool

property prop_tile: bool

Gets sets if fill image is tiled

Return type:

bool