Difference between revisions of "Fit options"

From A-SMIL.org
Jump to: navigation, search
(Created)
 
(No difference)

Latest revision as of 05:56, 20 November 2009

SMIL supports several options to "fit" content inside a region.

<region ... fit="fill" />

or

<img ... fit="meetBest" />

Allowed Values

hidden (default)
Display content without scaling
fill
Shrink or stretch the content to completely fill the area (without preserving aspect ratio)
meet
Scale the content while preserving aspect ratio until one of the dimensions meets the that of the area
meetBest
Scale the content while preserving aspect ratio until one of the dimensions meets the that of the area, but never stretch it larger than the original

Related