addImageOverlay
R2026bDescription
adds an empty image overlay to the viewport of the specified RoadRunner Viewer object img = addImageOverlay(rrViewer)rrViewer, and returns an
ImageOverlay object, img. Use the
ImageOverlay object to specify the image file, image size, and
image position in the viewport. For example, img =
addImageOverlay(rrViewer); adds an image overlay, img,
to the viewport of the specified RoadRunner Viewer object rrViewer. Then, img.ImagePath =
"CustomFolder/myImage.png"; adds the image file
myImage.png to the image overlay img, and
img.Size = [0.12 0.12]; specifies the size of the image
overlay.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2026b
See Also
roadrunnerViewer | | ImageOverlay | TextOverlay | addTextOverlaydrawnow
Topics
- Get Started with RoadRunner Viewer (RoadRunner Scenario)
- RoadRunner Project and Scene System (RoadRunner)