Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration RenderMode

Enumeration for render mode

enum

{number}

readonly
description

Modes for specifying how rendering is done in the viewer. All modes preserves the original aspect ratio of the images.

Index

Enumeration members

Enumeration members

Fill

Fill:

Fills the viewer by cropping content.

description

Cropping is done either in horizontal or vertical direction depending on the aspect ratio relation between the image and the viewer.

Letterbox

Letterbox:

Displays all content within the viewer.

description

Black bars shown on both sides of the content. Bars are shown either below and above or to the left and right of the content depending on the aspect ratio relation between the image and the viewer.

Generated using TypeDoc