Agora Interactive Whiteboard Java API Reference
Public Attributes | List of all members
com.herewhite.sdk.domain.ContentModeConfig.ScaleMode Enum Reference

Public Attributes

 CENTER
 
 CENTER_INSIDE
 
 CENTER_INSIDE_SCALE
 
 CENTER_INSIDE_SPACE
 
 CENTER_CROP
 
 CENTER_CROP_SPACE
 

Detailed Description

The scale mode of the viewable area.

Member Data Documentation

◆ CENTER

com.herewhite.sdk.domain.ContentModeConfig.ScaleMode.CENTER

CENTER: (Default) Resizes the viewable area by the specified scale.

◆ CENTER_INSIDE

com.herewhite.sdk.domain.ContentModeConfig.ScaleMode.CENTER_INSIDE

CENTER_INSIDE: Resizes the viewable area proportionately until its longer sides meet with the screen sides perpendicular to them, so that the viewable area is completely displayed on the screen.

◆ CENTER_INSIDE_SCALE

com.herewhite.sdk.domain.ContentModeConfig.ScaleMode.CENTER_INSIDE_SCALE

CENTER_INSIDE_SCALE: Resizes the viewable area proportionately until its longer sides meet with the screen sides perpendicular to them, so that the viewable area is completely displayed on the screen. Then, resizes the viewable area by a specified scale factor.

◆ CENTER_INSIDE_SPACE

com.herewhite.sdk.domain.ContentModeConfig.ScaleMode.CENTER_INSIDE_SPACE

CENTER_INSIDE_SPACE: Resizes the viewable area proportionately until its longer sides meet with the screen sides perpendicular to them, so that the viewable area is completely displayed on the screen. Then, adds the specified spaces around the viewable area.

◆ CENTER_CROP

com.herewhite.sdk.domain.ContentModeConfig.ScaleMode.CENTER_CROP

CENTER_CROP: Resizes the viewable area proportionately until its shorter sides meet with the screen sides perpendicular to them, so that the viewable area completely covers the screen.

◆ CENTER_CROP_SPACE

com.herewhite.sdk.domain.ContentModeConfig.ScaleMode.CENTER_CROP_SPACE

CENTER_CROP_SPACE: Resizes the viewable area proportionately until its shorter sides meet with the screen sides perpendicular to them, so that the viewable area completely covers the screen. Then, resizes the viewable area by the specified scale factor.