Paper Office
paper-pptxAPI referenceshapes.autoshape

AdjustmentCollection

paper-pptx 0.2.0 API reference

Sequence of Adjustment instances for an auto shape.

Each represents an available adjustment for a shape of its type. Supports len() and indexed access, e.g. shape.adjustments[1] = 0.15.

AdjustmentCollection(prstGeom: CT_PresetGeometry2D)

Functions

__getitem__

func__getitem__(idx: int) -> float

Provides indexed access, (e.g. 'adjustments[9]').

paramidxint

Returns

float

__len__

func__len__()

Implement built-in function len()

__setitem__

func__setitem__(idx: int, value: float)

Provides item assignment via an indexed expression, e.g. adjustments[9] = 999.9.

Causes all adjustment values in collection to be written to the XML.

paramidxint
paramvaluefloat

On this page