public interface HMatteLayer
HMatteLayer
interface enables the presentation of components, together with an associated HMatte
, for matte compositing.HMatte
void setMatte(HMatte m) throws HMatteException
HMatte
to this component, for matte compositing. Any existing animated matte must be stopped before this method is called or an HMatteException will be thrown.m
- The HMatte
to be applied to this component -- note that only one matte may be associated with the component, thus any previous matte will be replaced. If m is null, then any matte associated with the component is removed and further calls to getMatte() shall return null. The component shall behave as if it had a fully opaque HFlatMatte
associated with it (i.e an HFlatMatte with the default value of 1.0.)HMatteException
- if the HMatte
cannot be associated with the component. This can occur: HFlatEffectMatte
or HImageEffectMatte
. The exception is thrown even if m is null. HMatte
Copyright © 2012 CableLabs. All Rights Reserved.