Canvas.ClipOutShader(Shader) Method
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.
Set the clip to the difference of the current clip and the shader.
[Android.Runtime.Register("clipOutShader", "(Landroid/graphics/Shader;)V", "GetClipOutShader_Landroid_graphics_Shader_Handler", ApiSince=35)]
public virtual void ClipOutShader (Android.Graphics.Shader shader);
[<Android.Runtime.Register("clipOutShader", "(Landroid/graphics/Shader;)V", "GetClipOutShader_Landroid_graphics_Shader_Handler", ApiSince=35)>]
abstract member ClipOutShader : Android.Graphics.Shader -> unit
override this.ClipOutShader : Android.Graphics.Shader -> unit
Parameters
- shader
- Shader
The shader to intersect with the current clip
- Attributes
Remarks
Set the clip to the difference of the current clip and the shader. The shader will be treated as an alpha mask, taking the difference of the two.
Java documentation for android.graphics.Canvas.clipOutShader(android.graphics.Shader)
.
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.