Android.Graphics.Drawables.Drawable.ResolveOpacity Method
Return the appropriate opacity value for two source opacities.

Syntax

[Android.Runtime.Register("resolveOpacity", "(II)I", "")]
public static int ResolveOpacity (int op1, int op2)

See Also

Drawable.Opacity

Parameters

op1
One opacity value.
op2
Another opacity value.

Returns

Documentation for this section has not yet been entered.

Remarks

Return the appropriate opacity value for two source opacities. If either is UNKNOWN, that is returned; else, if either is TRANSLUCENT, that is returned; else, if either is TRANSPARENT, that is returned; else, OPAQUE is returned.

This is to help in implementing Drawable.Opacity.

[Android Documentation]

Requirements

Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1