public class OverlayAsset extends AbstractAsset
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<OverlayAsset> |
CREATOR |
static OverlayAsset |
NONE_BACKDROP |
static java.lang.String |
NONE_BACKDROP_ID |
Modifier | Constructor and Description |
---|---|
protected |
OverlayAsset(android.os.Parcel in) |
|
OverlayAsset(java.lang.String id,
ImageSource overlaySource,
BlendMode defaultBlendMode,
float defaultIntensity) |
|
OverlayAsset(java.lang.String id,
int overlayResId,
BlendMode defaultBlendMode,
float defaultIntensity) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
BlendMode |
getBlendMode() |
java.lang.Class<? extends AbstractAsset> |
getConfigType() |
float |
getIntensity() |
ImageSource |
getOverlaySource() |
int |
hashCode() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
afterAddToAssetMap, getId
public static final java.lang.String NONE_BACKDROP_ID
public static final OverlayAsset NONE_BACKDROP
public static final android.os.Parcelable.Creator<OverlayAsset> CREATOR
public OverlayAsset(@Nullable java.lang.String id, ImageSource overlaySource, BlendMode defaultBlendMode, float defaultIntensity)
public OverlayAsset(@Nullable java.lang.String id, @DrawableRes int overlayResId, BlendMode defaultBlendMode, float defaultIntensity)
protected OverlayAsset(android.os.Parcel in)
public ImageSource getOverlaySource()
public float getIntensity()
public BlendMode getBlendMode()
public boolean equals(java.lang.Object o)
equals
in class AbstractAsset
public final java.lang.Class<? extends AbstractAsset> getConfigType()
getConfigType
in class AbstractAsset
public int hashCode()
hashCode
in class AbstractAsset
public int describeContents()
describeContents
in interface android.os.Parcelable
describeContents
in class AbstractAsset
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class AbstractAsset