Appearance
@shbernal/pptxgenjs / index / SlideMasterObject
Type Alias: SlideMasterObject
SlideMasterObject = {
chart:SlideMasterChartProps; } | {image:ImageProps; } | {line:ShapeProps; } | {rect:ShapeProps; } | {roundRect:ShapeProps; } | {shape: {options?:ShapeProps;type:SHAPE_NAME; }; } | {text: {options?:TextPropsOptions;text:string|number|TextProps[]; }; } | {placeholder: {options:PlaceholderProps;text?:string; }; }
Defined in: core-interfaces.ts:3041
Union Members
Type Literal
{ chart: SlideMasterChartProps; }
Type Literal
{ image: ImageProps; }
Type Literal
{ line: ShapeProps; }
Type Literal
{ rect: ShapeProps; }
Type Literal
{ roundRect: ShapeProps; }
Type Literal
{ shape: { options?: ShapeProps; type: SHAPE_NAME; }; }
Any preset shape, addressed by SHAPE_NAME (e.g. pptx.ShapeType.ellipse). Generalizes the line/rect/roundRect shortcuts to every preset the addShape() serializer supports (ellipse, triangle, chevron, …).
Type Literal
{ text: { options?: TextPropsOptions; text: string | number | TextProps[]; }; }
Type Literal
{ placeholder: { options: PlaceholderProps; text?: string; }; }