Class: PBImage
PBImage(image, upperLeft, lowerRight)
new PBImage(image, upperLeft, lowerRight)
The constructor.
Parameters:
Name | Type | Description |
---|---|---|
image |
Image | The actual image. |
upperLeft |
Vertex | The upper left corner. |
lowerRight |
Vertex | The lower right corner. |
- Source:
Methods
toSVGString(optionsopt) → {string}
Convert this vertex to SVG code.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options |
object |
<optional> |
An optional set of options, like 'className'. |
- Source:
Returns:
A string representing the SVG code for this vertex.
- Type
- string