Manual Reference Source
public class | source

MagnifyGlass

Extends:

Tool → MagnifyGlass

Constructor Summary

Public Constructor
public

constructor(viewer: *)

Constructor of ManifyGlass

Method Summary

Public Methods
public

addInput(input: *)

Add input for this tool.

public

Delete all resource in mangnifyGlass

public

setEnabled(enabled: *)

Set the mangnifyGlass tool enabled.

public

setLineWidth(lineWidth: *)

Set the line with of the magnify glass border.

Inherited Summary

From class Tool
public

addInput(input: *)

Add input to the tool

public

Destroy the tool and release all internal resources

public
public

setEnabled(enabled: boolean)

Enable/Disable the tool

Public Constructors

public constructor(viewer: *) source

Constructor of ManifyGlass

Override:

Tool#constructor

Params:

NameTypeAttributeDescription
viewer *

{Viewer3D}

Public Methods

public addInput(input: *) source

Add input for this tool.

Override:

Tool#addInput

Params:

NameTypeAttributeDescription
input *

public destroy() source

Delete all resource in mangnifyGlass

Override:

Tool#destroy

public setEnabled(enabled: *) source

Set the mangnifyGlass tool enabled.

Override:

Tool#setEnabled

Params:

NameTypeAttributeDescription
enabled *

{Boolean}

public setLineWidth(lineWidth: *) source

Set the line with of the magnify glass border.

Params:

NameTypeAttributeDescription
lineWidth *

the width in pixel.