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