遮罩(遮蓋)所選影像的背景。 此資料類型允許您在主題影像外部以透明度將其覆蓋到其他圖層中。
此資料類型是可選的,預設為關閉。
KnockoutBackgroundOptions=[corner, tolerance, fill]
如果要配置 KnockoutBackgroundOptions
在Adobe Experience Manager,請改用以下參數:
kbCorner
kbTolerance
kbFillMethod
例如︰kbCorner=UpperLeft&kbTolerance=0.2&kbFillMethod=MatchPixel
名稱 | 類型 | 說明 |
---|---|---|
角 | xsd:string | 選擇要使用的角。 角 接受這些值:
|
容差 | xsd:雙 | 可選設定,用於根據透明度從影像邊緣中刪除空白。 接受0.0到1.0之間的值範圍。指定:
|
fill方法 | xsd:字串 | 控制由 角 變數。 的 fill方法 接受這些值:
|
<complexType name="KnockoutBackgroundOptions">
<sequence>
<!-- corner one of UpperLeft, BottomLeft, UpperRight, BottomRight -->
<element name="corner" type="xsd:string" minOccurs="1"/>
<!-- Tolerance real value between 0.0 and 1.0 -->
<element name="tolerance" type="xsd:double" minOccurs="0"/>
<!-- one of FloodFill or MatchPixel is required -->
<element name="fillMethod" type="xsd:string" minOccurs="1"/>
</sequence>
</complexType>
的 KnockoutBackgroundOptions
類型由: