New
- Introducing Marker Frames. These are special frames that can be used to mark slides, pages areas for PDF printouts, image references, etc.
To create a marker frame, create a frame and toggle the marker frame in the elements properties panel.- Markers are not included in exports such as images or PDFs.
- Markers do not contain elements
- Markers can be hidden/shown from the canvas context menu
- Updated the "Printable Layout Wizard" script
- Now works with marker frames
- Supports different page sizes and orientations within a single PDF document
- The printout may include non-marker frames (e.g., PDF image embeds in frames)
- Pro-tip: You can also use marker frames...
- with the Slideshow plugin
- to create image-area references such that the frames do not get rendered in exported images, and you can reference areas by frame name
- Performance improvement of Image-area references
New in ExcalidrawAutomate
createPDF()
now supportsSVG[]
array of SVGs with different sizes.- New function:
/**
* Gets the elements within a specific area.
* @param elements - The elements to check.
* @param param1 - The area to check against.
* @returns The elements within the area.
*/
elementsInArea(
elements: NonDeletedExcalidrawElement[],
{x, y, width, height}:{
x:number; y:number; width:number; height:number;
}
):ExcalidrawElement[]