ooodev.adapter.drawing.homogen_matrix_struct_comp module

class ooodev.adapter.drawing.homogen_matrix_struct_comp.HomogenMatrixStructComp(component, prop_name, event_provider)[source]

Bases: StructBase[HomogenMatrix]

HomogenMatrix Struct

This class raises an event before and after a property is changed if it has been passed an event provider.

The event raised before the property is changed is called com_sun_star_drawing_HomogenMatrix_changing. The event raised after the property is changed is called com_sun_star_drawing_HomogenMatrix_changed.

The event args for before the property is changed is of type KeyValCancelArgs. The event args for after the property is changed is of type KeyValArgs.

__init__(component, prop_name, event_provider)[source]

Constructor

Parameters:
  • component (HomogenMatrix) – Homogen Matrix

  • prop_name (str) – Property Name. This value is assigned to the prop_name of event_data.

  • event_provider (EventsT | None) – Event Provider.

Return type:

None

property line1: HomogenMatrixLineStructComp

Gets/Sets Line 1.

Setting value can be done with a HomogenMatrixLine or HomogenMatrixLineStructComp object.

Returns:

Returns Homogen Matrix Line

Return type:

HomogenMatrixLineStructComp

Hint

  • HomogenMatrixLine can be imported from ooo.dyn.drawing.homogen_matrix_line

property line2: HomogenMatrixLineStructComp

Gets/Sets Line 2.

Setting value can be done with a HomogenMatrixLine or HomogenMatrixLineStructComp object.

Returns:

Returns Homogen Matrix Line

Return type:

HomogenMatrixLineStructComp

Hint

  • HomogenMatrixLine can be imported from ooo.dyn.drawing.homogen_matrix_line

property line3: HomogenMatrixLineStructComp

Gets/Sets Line 3.

Setting value can be done with a HomogenMatrixLine or HomogenMatrixLineStructComp object.

Returns:

Returns Homogen Matrix Line

Return type:

HomogenMatrixLineStructComp

Hint

  • HomogenMatrixLine can be imported from ooo.dyn.drawing.homogen_matrix_line

property line4: HomogenMatrixLineStructComp

Gets/Sets Line 4.

Setting value can be done with a HomogenMatrixLine or HomogenMatrixLineStructComp object.

Returns:

Returns Homogen Matrix Line

Return type:

HomogenMatrixLineStructComp

Hint

  • HomogenMatrixLine can be imported from ooo.dyn.drawing.homogen_matrix_line