Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration ScalingMode

Defines how a Slot is scaled inside its frame.

Index

Enumeration members

ASPECT_FILL

ASPECT_FILL: = "AspectFill"

The content is scaled to fill the frame which can result into overflow.

ASPECT_FIT

ASPECT_FIT: = "AspectFit"

The content is scaled to fit into the frame without overflowing.

SCALE_TO_HEIGHT

SCALE_TO_HEIGHT: = "ScaleToHeight"

The content is scaled to match the height of the frame.

SCALE_TO_WIDTH

SCALE_TO_WIDTH: = "ScaleToWidth"

The content is scaled to match the width of the frame.

Generated using TypeDoc