ViewerMagnifierProperties

Interface ViewerMagnifierProperties

The properties associated with the magnifier of a viewer.

interface ViewerMagnifierProperties {
    enabled?: boolean;
    position?: [number, number];
    roundness?: number;
    size?: [number, number];
    zoomLevel?: number;
}

Properties

enabled?: boolean

Specifies the enabled state of the magnifier.

true
position?: [number, number]

Specifies the center x- and y-position of the magnifier in pixels.

[0,0]
roundness?: number

Specifies the roundness of the magnifier between 0 and 100. 0 means a square magnifier, 100 means a circle.

100
size?: [number, number]

Specifies size of the magnifier in pixels.

[50,50]
zoomLevel?: number

Specifies zoom level of the magnifier.

3