Class CoreControls.Hyperlink
Represents a hyperlink in a Document.
Constructor Attributes | Constructor Name and Description |
---|---|
CoreControls.Hyperlink(bbox, target)
Represents a link to an external hyperlink
|
Field Attributes | Field Name and Description |
---|---|
An alias for the bounding box
|
Method Attributes | Method Name and Description |
---|---|
Gets the bounding box of the hyperlink.
|
|
Gets the target of the hyperlink.
|
Class Detail
CoreControls.Hyperlink(bbox, target)
Represents a link to an external hyperlink
- Parameters:
- {array} bbox
- The bounding box of the hyperlink [x1, y1, x2, y2]
- {string} target
- The target (URL) of the hyperlink
Field Detail
Rect
An alias for the bounding box
Method Detail
GetBoundingBox()
Gets the bounding box of the hyperlink.
- Returns:
- The bounding box represented by an array of points [x1, y1, x2, y2]
GetTarget()
Gets the target of the hyperlink.
- Returns:
- The URL that the link is pointing to.