OverlayAreaItem
Interface in @bimworks/viewer3d.
API catalogue · @bimworks/viewer3d · Interface
interface OverlayAreaItemPlanar polygons (flat x,y rings, not closed) and circles, on the plane z or in plane
Inheritance and interfaces#
Members#
| Member | Kind | Description |
|---|---|---|
| circles | Property | |
| color | Property | "#rrggbb" or "#rrggbbaa", overrides the role colour inheritedFrom: OverlayItemCommon.color |
| depth | Property | "ghost" draws as "test" until the ghost pass arrives inheritedFrom: OverlayItemCommon.depth |
| id | Property | Unique within the overlay inheritedFrom: OverlayItemCommon.id |
| label | Property | inheritedFrom: OverlayItemCommon.label |
| labelShow | Property | "hover": the label only while the item or one of its qids is hovered; default "always" inheritedFrom: OverlayItemCommon.labelShow |
| lift | Property | mm above the plane, default 15 |
| plane | Property | |
| polygons | Property | |
| qids | Property | Related model objects inheritedFrom: OverlayItemCommon.qids |
| role | Property | inheritedFrom: OverlayItemCommon.role |
| storey | Property | inheritedFrom: OverlayItemCommon.storey |
| style | Property | |
| tooltip | Property | inheritedFrom: OverlayItemCommon.tooltip |
| type | Property | overwrites: OverlayItemCommon.type |
| views | Property | inheritedFrom: OverlayItemCommon.views |
| z | Property |
circles#
circles?: ({ center: [number, number]; radius: number })[]color#
color?: string"#rrggbb" or "#rrggbbaa", overrides the role colour
inheritedFrom: OverlayItemCommon.color
depth#
depth?: "always" | "test" | "ghost""ghost" draws as "test" until the ghost pass arrives
inheritedFrom: OverlayItemCommon.depth
id#
id: stringUnique within the overlay
inheritedFrom: OverlayItemCommon.id
label#
label?: stringinheritedFrom: OverlayItemCommon.label
labelShow#
labelShow?: "always" | "hover""hover": the label only while the item or one of its qids is hovered; default "always"
inheritedFrom: OverlayItemCommon.labelShow
lift#
lift?: numbermm above the plane, default 15
plane#
plane?: { normal: (number)[]; origin: (number)[]; xAxis: (number)[] }polygons#
polygons?: ({ holes?: ((number)[])[]; outer: (number)[] })[]qids#
qids?: (string)[]Related model objects
inheritedFrom: OverlayItemCommon.qids
role#
role?: OverlayRoleinheritedFrom: OverlayItemCommon.role
storey#
storey?: stringinheritedFrom: OverlayItemCommon.storey
style#
style?: { fill?: number; hatch?: string | null; outline?: boolean }tooltip#
tooltip?: stringinheritedFrom: OverlayItemCommon.tooltip
type#
type: "area"overwrites: OverlayItemCommon.type
views#
views?: ("2d" | "3d")[]inheritedFrom: OverlayItemCommon.views
z#
z?: number