Paint.SetShader(Shader) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Impostare o deselezionare l'oggetto shader.
[Android.Runtime.Register("setShader", "(Landroid/graphics/Shader;)Landroid/graphics/Shader;", "GetSetShader_Landroid_graphics_Shader_Handler")]
public virtual Android.Graphics.Shader? SetShader(Android.Graphics.Shader? shader);
[<Android.Runtime.Register("setShader", "(Landroid/graphics/Shader;)Landroid/graphics/Shader;", "GetSetShader_Landroid_graphics_Shader_Handler")>]
abstract member SetShader : Android.Graphics.Shader -> Android.Graphics.Shader
override this.SetShader : Android.Graphics.Shader -> Android.Graphics.Shader
Parametri
- shader
- Shader
Può essere Null. nuovo shader da installare nella vernice
Valori restituiti
shader
- Attributi
Commenti
Impostare o deselezionare l'oggetto shader.
Passare null per cancellare qualsiasi shader precedente. Per praticità, viene restituito anche il parametro passato.
per android.graphics.Paint.setShader(android.graphics.Shader).
Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.