...
Makes a font available for text rendering. The AddFont()
method can be used to supply additional or custom typefaces for the HTML rendering engine . These should be supplied in the form of TTF files, and the filename should be passed as the argument to AddFont()
.
SetHWZDefault(default As String) As Void
Sets the default HWZ mode for HTML video. Normally, HWZ must be enabled in each <video>
tag, but passing "on" to this string enables HWZ for all <video>
elements. This method can also accept a semicolon-separated list of HWZ parameters:
on/off
: Enables or disables HWZ mode.z-index
: Sets the default z-ordering for<video>
elements. A positive integer places the video in front of all graphics; a negative integer places the video behind all graphics; and a zero value disables HWZ mode completely. You can customize the z-ordering of individual video elements with respect to each other by inserting the "z-index" parameter into the<video>
tag.transform
: Sets the default rotation for<video>
elements. HWZ mode must be enabled for transforms to work.identity
: No transformation (default behavior)rot90
: 90 degree clockwise rotationrot180
: 180 degree rotationrot270
: 270 degree clockwise rotationmirror
: Horizontal mirror transformationmirror_rot90
: Mirrored 90 degree clockwise rotationmirror_rot180
: Mirrored 180 degree clockwise rotationmirror_rot270
: Mirrored 270 degree clockwise rotation
fade
: Sets the fading behavior for<video>
elements.auto
: Videos transition without fade effects. This is the default behavior.-
always
: When a video ends, the video window will go black. The new video will then fade in.
-
luma-key/cr-key/cb-key
: Enables luma and/or chroma keying for<video>
elements. HWZ mode must be enabled for luma/chroma keying to work.
...