共用方式為


Paint.SetRasterizer(Rasterizer) Method

Definition

Caution

deprecated

Set or clear the rasterizer object.

[Android.Runtime.Register("setRasterizer", "(Landroid/graphics/Rasterizer;)Landroid/graphics/Rasterizer;", "GetSetRasterizer_Landroid_graphics_Rasterizer_Handler")]
[System.Obsolete("deprecated")]
public virtual Android.Graphics.Rasterizer? SetRasterizer (Android.Graphics.Rasterizer? rasterizer);
[<Android.Runtime.Register("setRasterizer", "(Landroid/graphics/Rasterizer;)Landroid/graphics/Rasterizer;", "GetSetRasterizer_Landroid_graphics_Rasterizer_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member SetRasterizer : Android.Graphics.Rasterizer -> Android.Graphics.Rasterizer
override this.SetRasterizer : Android.Graphics.Rasterizer -> Android.Graphics.Rasterizer

Parameters

rasterizer
Rasterizer

May be null. The new rasterizer to be installed in the paint.

Returns

rasterizer

Attributes

Remarks

Set or clear the rasterizer object. <p /> Pass null to clear any previous rasterizer. As a convenience, the parameter passed is also returned.

This member is deprecated. Rasterizer is not supported by either the HW or PDF backends.

Java documentation for android.graphics.Paint.setRasterizer(android.graphics.Rasterizer).

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.

Applies to