Skip to content

@shbernal/ts-pptx


@shbernal/ts-pptx / index / LinearGradientFillProps

Interface: LinearGradientFillProps

Defined in: src/types/core.ts:115

Properties

angle?

optional angle?: number

Defined in: src/types/core.ts:124

Gradient angle in degrees. Values are normalized into 0-359.999...

Default

ts
0

kind

kind: "linear"

Defined in: src/types/core.ts:119

Gradient type.


rotateWithShape?

optional rotateWithShape?: boolean

Defined in: src/types/core.ts:133

Whether the fill rotates with the shape.

Default

ts
true

scaled?

optional scaled?: boolean

Defined in: src/types/core.ts:128

Whether the gradient angle scales with the fill region.


stops

stops: GradientStopProps[]

Defined in: src/types/core.ts:137

Gradient stops. Stops are serialized in ascending position order.