ImFusion Web SDK

SliceView

A 2D MPR View.

Extends

Properties

PropertyTypeDescriptionInherited from
borderConfigViewBorderConfigThe ViewBorderConfig object defining if and how to render a border frame surrounding the view. Remarks Use setBorderConfig to override partial values.View.borderConfig
blendingModeSliceBlendingModeThe blending behavior of the underlying Slice when rendering multiple images.-
blendingFactornumberThe blending factor in range 0..1 of the underlying Slice if applicable to the current blendingMode-
interpolationModeSliceInterpolationModeThe interpolation mode of the underlying Slice's default renderer.-

Methods

MethodDescription
defaultEventHandler()The first default event handler, if present.

Inherited from View

MethodDescription
setBorderConfig()Updates the border config with the specified values.
addObject()Add a custom GlObject to this view
removeObject()Remove a custom GlObject from this view
onVisibleDataChanged()Fires when the visible data in the view changes.
setBorderColor()Set the border color for this view.
screenshot()Creates a screenshot of the this view.
setBackgroundColor()Set the optional background color used to clear the viewport before rendering anything.

Inherited from ClassHandle

MethodDescription
isAliasOf()Returns true if this handle and other alias the same underlying C++ object.
delete()Releases this JavaScript handle.
deleteLater()Schedules this handle for deferred deletion and returns this handle.
isDeleted()Returns true if this handle has already been deleted.
[dispose]()Releases this handle when the enclosing scope exits, so a handle can be declared with using instead of calling delete() later manually.
clone()Returns a new JavaScript handle aliasing the same underlying C++ object.

defaultEventHandler()

ts

The first default event handler, if present. Can be used to configure view interactions.

Returns

| SliceViewDefaultEventHandler | null

On this page