Language
Configure Overlays
PhotoEditor SDK supports several configuration options for the OverlayToolPanel
allowing flexible adaptation to different needs and use cases.
Set initial overlay#
Here, we set an initial overlay that will be applied to the input photo. We find the OverlayAsset
to apply by using the getAssetById()
method on the AssetConfig
which we obtain from the SettingsList
.
Intensity and BlendMode#
For the sake of this example, we set the intensity
to 0.4 and the blendMode
to HARD_LIGHT
.