ooodev.adapter.drawing.line_properties_partial module
- class ooodev.adapter.drawing.line_properties_partial.LinePropertiesPartial(component)[source]
Bases:
object
Partial class for LineProperties Service.
See also
- Parameters:
component (LineProperties) –
- __init__(component)[source]
Constructor
- Parameters:
component (LineProperties) – UNO Component that implements
com.sun.star.drawing.LineProperties
interface.interface (UnoInterface, optional) – The interface to be validated. Defaults to
LineProperties
.
- Return type:
None
- property line_cap: LineCap | None
Gets/Sets the rendering of ends of thick lines.
optional:
- Returns:
The line cap.
- Return type:
LineCap
Hint
LineCap
can be imported fromooo.dyn.drawing.line_cap
- property line_color: com.sun.star.util.Color
Gets/Sets the line color.
- Return type:
Color
- property line_dash: LineDashStructComp
Gets/Sets the dash of the line.
When setting the value can be a
LineDash
or aLineDashStructComp
.- Returns:
The line dash.
- Return type:
Hint
LineDash
can be imported fromooo.dyn.drawing.line_dash
- property line_dash_name: str
Gets/Sets the name of the dash of the line.
- Return type:
str
- property line_end: PolyPolygonBezierCoords | None
Gets/Sets the line end in the form of a poly polygon Bezier.
optional
- Return type:
PolyPolygonBezierCoords | None
- property line_end_center: bool | None
Gets/Sets the line end center.
If this property is
True
, the line will end in the center of the polygon.optional
- Return type:
bool | None
- property line_end_name: str | None
Gets/Sets the name of the line end poly polygon Bezier.
If this string is empty, no line end polygon is rendered.
optional
- Return type:
str | None
- property line_end_width: UnitMM100 | None
Gets/Sets the width of the line end polygon.
When setting this property, you can use either an integer or a
UnitT
object.optional
- Returns:
The width of the line end polygon or None if not available.
- Return type:
Hint
UnitMM100
can be imported fromooodev.units
.
- property line_joint: LineJoint
Gets/Sets the rendering of joints between thick lines.
- Returns:
The line joint.
- Return type:
LineJoint
Hint
LineJoint
can be imported fromooo.dyn.drawing.line_joint
- property line_start: PolyPolygonBezierCoords | None
Gets/Sets the line start in the form of a poly polygon Bezier.
optional
- Return type:
PolyPolygonBezierCoords | None
- property line_start_center: bool | None
Gets/Sets the line start center.
If this property is
True
, the line will start from the center of the polygon.optional
- Return type:
bool | None
- property line_start_name: str | None
Gets/Sets the name of the line start poly polygon Bezier.
If this string is empty, no line start polygon is rendered.
optional
- Return type:
str | None
- property line_start_width: UnitMM100 | None
Gets/Sets the width of the line start polygon.
When setting this property, you can use either an integer or a
UnitT
object.optional
- Returns:
The width of the line start polygon or None if not available.
- Return type:
Hint
UnitMM100
can be imported fromooodev.units
.
- property line_style: LineStyle
Gets/Sets the type of the line.
- Returns:
Line Style.
- Return type:
LineStyle
Hint
LineStyle
can be imported fromooo.dyn.drawing.line_style
- property line_transparence: int
Gets/Sets the extent of transparency.
- Return type:
int