Appearance
@shbernal/pptxgenjs / index / RadialGradientFillProps
Interface: RadialGradientFillProps
Defined in: core-interfaces.ts:146
Properties
center?
optionalcenter?:object
Defined in: core-interfaces.ts:158
Focus point of the radial gradient as percentages of the fill box, where { x: 50, y: 50 } (the default) centers it. Lower/higher values push the bright center toward an edge.
x
x:
number
y
y:
number
Default
ts
{ x: 50, y: 50 }kind
kind:
"radial"
Defined in: core-interfaces.ts:151
Gradient type. A circular gradient radiating from a focus point: the stop at position: 0 sits at the center and later stops fan outward to the edges.
rotateWithShape?
optionalrotateWithShape?:boolean
Defined in: core-interfaces.ts:163
Whether the fill rotates with the shape.
Default
ts
truestops
stops:
GradientStopProps[]
Defined in: core-interfaces.ts:168
Gradient stops. Stops are serialized in ascending position order; the first (position: 0) is the center color.