Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Stretch

Describes how content is resized to fill its allocated space.

Index

Variables

aspectFill

aspectFill: BaseStretch

The image is resized to fill in the destination dimensions while it preserves its native aspect ratio. If the aspect ratio of the destination rectangle differs from the image, the image is clipped to fill in the destination.

aspectFit

aspectFit: BaseStretch

The image is resized to fit the destination dimensions while it preserves its native aspect ratio.

fill

fill: BaseStretch

The image is resized to fill the destination dimensions. The aspect ratio is not preserved.

none

none: BaseStretch

The image preserves its original size.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method