User`s guide
mlreportgen.dom.ImageArea class
12-175
mlreportgen.dom.ImageArea class
Package: mlreportgen.dom
Define image area as hyperlink
Description
Define an area in an image to be an HTML hyperlink. When a user clicks an image area,
the HTML browser displays the target page, based on the URL or link target you specify.
You can provide alternative text for screen reader users.
Construction
imageAreaObj = ImageArea() creates an empty image area.
imageAreaObj = ImageArea(target,altText,x1,y1,x2,y2) creates a rectangular
image area.
imageAreaObj = ImageArea(target,altText,x,y,radius) creates a circular
image area.
imageAreaObj = ImageArea(target,altText,polygonCoordinates) creates a
polygonal image area.
Input Arguments
target — Image area hyperlink target
string
String that specifies either of these values:
• URL of the page to be loaded when this image area is clicked
• Name of a link target
altText — Text to display if image is not visible
string