imageShape

fnDrawShape imageShape(string imagePath, string x, string y, string width, string height, string mimeType = "", string styleName = "")

Constructs an image shape embedding a referenced image.

Parameters

imagePathPath to the image within the package.
xThe SVG x position.
yThe SVG y position.
widthThe SVG width.
heightThe SVG height.
mimeTypeMIME type of the image.
styleNameOptional draw:style-name.

Returns

A DrawShape with DrawShapeKind.IMAGE.