Skip to main content

Type Alias: ShapeCoordinates

ShapeCoordinates = object

Defined in: src/types/shape-types.ts:3

Properties​

h?​

optional h?: number

Defined in: src/types/shape-types.ts:24

Shape height in DXA


w?​

optional w?: number

Defined in: src/types/shape-types.ts:20

Shape width in DXA


x?​

optional x?: number

Defined in: src/types/shape-types.ts:11

Horizontal position measured from left corner in PowerPoint DXA unit. PowerPoint units are in DXA (except for font sizing)

  • 1 cm is 360000 DXA
  • 20 DXA is 1 point

y?​

optional y?: number

Defined in: src/types/shape-types.ts:16

Vertical position on the slide Measured from top corner in DXA