Appearance
@shbernal/pptxgenjs / index / GeometryPoint
Type Alias: GeometryPoint
GeometryPoint = {
moveTo?:boolean;x:Coord;y:Coord; } | {curve: {hR:Coord;stAng:number;swAng:number;type:"arc";wR:Coord; };x:Coord;y:Coord; } | {curve: {type:"cubic";x1:Coord;x2:Coord;y1:Coord;y2:Coord; };x:Coord;y:Coord; } | {curve: {type:"quadratic";x1:Coord;y1:Coord; };x:Coord;y:Coord; } | {close:true; }
Defined in: core-interfaces.ts:221
A single node of a freeform (custGeom) path.
- coordinates are authored in the object's own inch/EMU space (0..width, 0..height), not slide-relative and not normalized
- used by shapes (
pptx.shapes.CUSTOM_GEOMETRY) and by images (clips the picture to the path)