ooodev.format.inner.partial.position_size.chart2.chart2_position_partial module
- class ooodev.format.inner.partial.position_size.chart2.chart2_position_partial.Chart2PositionPartial(factory_name, component, lo_inst=None)[source]
Bases:
object
Partial class for Chart Position.
- Parameters:
factory_name (str) –
component (Any) –
lo_inst (LoInst | None) –
- __init__(factory_name, component, lo_inst=None)[source]
- Parameters:
factory_name (str) –
component (Any) –
lo_inst (LoInst | None) –
- Return type:
None
- style_position(x, y)[source]
Style Area Color.
- Parameters:
x (float, UnitT) – Specifies the x-coordinate of the position of the shape (in
mm
units) or Class UnitT.y (float, UnitT) – Specifies the y-coordinate of the position of the shape (in
mm
units) or Class UnitT.
- Raises:
CancelEventError – If the event
before_style_position
is cancelled and not handled.- Returns:
Position instance or
None
if cancelled.- Return type:
PositionT | None
- style_position_get()[source]
Gets the Position Style.
- Raises:
CancelEventError – If the event
before_style_position_get
is cancelled and not handled.- Returns:
Position style or
None
if cancelled.- Return type:
PositionT | None