SliceView
A 2D MPR View.
Extends
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
borderConfig | ViewBorderConfig | The ViewBorderConfig object defining if and how to render a border frame surrounding the view. Remarks Use setBorderConfig to override partial values. | View.borderConfig |
blendingMode | SliceBlendingMode | The blending behavior of the underlying Slice when rendering multiple images. | - |
blendingFactor | number | The blending factor in range 0..1 of the underlying Slice if applicable to the current blendingMode | - |
interpolationMode | SliceInterpolationMode | The interpolation mode of the underlying Slice's default renderer. | - |
Methods
| Method | Description |
|---|---|
| defaultEventHandler() | The first default event handler, if present. |
Inherited from View
| Method | Description |
|---|---|
| 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
| Method | Description |
|---|---|
| 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