constructor Method
Construct a new ImageGraphic.
ImageGraphic(corners: ImageGraphicCorners, textureId: string, hasBorder: boolean = false): ImageGraphic
| Parameter | Type | Description |
|---|---|---|
| corners | ImageGraphicCorners | Defines the 4 corners of the quadrilateral on which the image is to be displayed. The ImageGraphic takes ownership of this input. |
| textureId | string | Identifies a persistent Texture element defining the image to be mapped onto the quadrilateral. |
| hasBorder | boolean | Whether or not to display a border around the image. |
Returns - ImageGraphic
Defined in
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.