RenderNode.HasShadow Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks if the RenderNode has a shadow.
public bool HasShadow { [Android.Runtime.Register("hasShadow", "()Z", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("hasShadow", "()Z", "", ApiSince=29)>]
member this.HasShadow : bool
Property Value
True if this RenderNode has a shadow, false otherwise
- Attributes
Remarks
Checks if the RenderNode has a shadow. That is, if the combination of #getElevation()
and #getTranslationZ()
is greater than zero, there is an Outline
set with a valid shadow caster path, and the provided outline has a non-zero Outline#getAlpha()
.
Java documentation for android.graphics.RenderNode.hasShadow()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.