Class CMItemHTML extends CMItem
CMItemHTML Class
This class creates a DIV that can contain HTML (including SVG) data to be associated with a coordinate in 2D or 3D space.
This was originally used to hold SVG data and then I realized this could be any HTML content.
Settings Group: HTML
| Setting | Name | Type | Options | Default | Comments |
|---|---|---|---|---|---|
| ClassName | Class Name | CMTYPE_STRING | HTML text to set into the div | ||
| Position | Type | CMTYPE_ENUMERATED | CMLABEL_LOCATIONS | Default is undefined which will center the div | |
| OffsetX | Offset X | CMTYPE_FLOAT | 0 | ||
| OffsetY | Offset Y | CMTYPE_FLOAT | 0 |