ooodev.format.inner.direct.draw.shape.line.arrow_styles module

class ooodev.format.inner.direct.draw.shape.line.arrow_styles.ArrowStyles(start_line_name=None, start_line_width=None, start_line_center=None, end_line_name=None, end_line_width=None, end_line_center=None)[source]

Bases: StyleBase

This class represents the line Arrow styles of a shape or line.

__init__(start_line_name=None, start_line_width=None, start_line_center=None, end_line_name=None, end_line_width=None, end_line_center=None)[source]

Constructor.

Parameters:
  • start_line_name (GraphicArrowStyleKind, str, optional) – Start line name. Defaults to None.

  • start_line_width (float, UnitT, optional) – Start line width in mm units. Defaults to None.

  • start_line_center (bool, optional) – Start line center. Defaults to None.

  • end_line_name (GraphicArrowStyleKind, str, optional) – End line name. Defaults to None.

  • end_line_width (float, UnitT, optional) – End line width in mm units. Defaults to None.

  • end_line_center (bool, optional) – End line center. Defaults to None.

Return type:

None

classmethod from_obj(obj: object)[source]
classmethod from_obj(obj: object, **kwargs)
classmethod from_obj(obj, **kwargs)

Creates a new instance from obj.

Parameters:

obj (Any) – UNO Shape object.

Returns:

New instance.

Return type:

LineProperties

property prop_end_line_center: bool | None

Gets/Sets the end line center.

Return type:

bool | None

property prop_end_line_name: str | None

Gets/Sets end line name.

Return type:

str | None

property prop_end_line_width: UnitMM | None

Gets/Sets the end line width.

Return type:

UnitMM | None

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

property prop_start_line_center: bool | None

Gets/Sets the start line center.

Return type:

bool | None

property prop_start_line_name: str | None

Gets/Sets start line name.

Return type:

str | None

property prop_start_line_width: UnitMM | None

Gets/Sets the start line width.

Return type:

UnitMM | None