emphasizeSelectedElements Method
Set the currently selected elements to be always drawn normally with all other elements in the view overridden to draw using a default appearance.
emphasizeSelectedElements(vp: Viewport, defaultAppearance?: FeatureAppearance, replace: booleantrue, clearSelection: booleantrue): boolean
@returns true if overrides were changed.
@see - alwaysDrawn
Parameter | Type | Description |
---|---|---|
vp | Viewport | The viewport. |
defaultAppearance | FeatureAppearance | Optional default appearance, uses transparent grey if not specified. |
replace | boolean | true to replace currently overridden elements (if any) or false to add to the existing set. |
clearSelection | boolean | true to clear current selection after setting appearance override, false to leave selected. |
Returns - boolean
true if overrides were changed.
Defined in
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.