ooodev.format.draw.modify.line.arrow_styles module
Modify Draw Style Arrows.
New in version 0.17.13.
- class ooodev.format.draw.modify.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, style_name='standard', style_family=DrawStyleFamilyKind.GRAPHICS)[source]
Bases:
LinePropertiesStyleBaseMulti
Arrow Style values.
See also
New in version 0.17.13.
- __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, style_name='standard', style_family=DrawStyleFamilyKind.GRAPHICS)[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
.style_name (FamilyGraphics, str, optional) – Specifies the Style that instance applies to. Default is Default
standard
Style.style_family (str, DrawStyleFamilyKind, optional) – Family Style. Defaults to
graphics
.
- Return type:
None
See also
- classmethod from_style(doc, style_name='standard', style_family=DrawStyleFamilyKind.GRAPHICS)[source]
Gets instance from Document.
- Parameters:
doc (Any) – UNO Document Object.
style_name (FamilyGraphics, str, optional) – Specifies the Style that instance applies to. Default is
FamilyGraphics.DEFAULT_DRAWING_STYLE
.style_family (DrawStyleFamilyKind, str, optional) – Style family. Default
DrawStyleFamilyKind.GRAPHICS
.
- Returns:
ArrowStyles
instance from document properties.- Return type:
- property prop_inner: ArrowStyles
Gets/Sets Inner Font instance
- Return type:
- property prop_style_name: str
Gets/Sets property Style Name
- Return type:
str