Skip to content

@shbernal/pptxgenjs


@shbernal/pptxgenjs / index / LinearGradientFillProps

Interface: LinearGradientFillProps

Defined in: core-interfaces.ts:122

Properties

angle?

optional angle?: number

Defined in: core-interfaces.ts:131

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

Default

ts
0

kind

kind: "linear"

Defined in: core-interfaces.ts:126

Gradient type.


rotateWithShape?

optional rotateWithShape?: boolean

Defined in: core-interfaces.ts:140

Whether the fill rotates with the shape.

Default

ts
true

scaled?

optional scaled?: boolean

Defined in: core-interfaces.ts:135

Whether the gradient angle scales with the fill region.


stops

stops: GradientStopProps[]

Defined in: core-interfaces.ts:144

Gradient stops. Stops are serialized in ascending position order.