Udostępnij za pośrednictwem


Paint.AntiAlias Property

Definition

Helper for getFlags(), returning true if ANTI_ALIAS_FLAG bit is set AntiAliasing smooths out the edges of what is being drawn, but is has no impact on the interior of the shape. -or- Helper for setFlags(), setting or clearing the ANTI_ALIAS_FLAG bit AntiAliasing smooths out the edges of what is being drawn, but is has no impact on the interior of the shape.

public bool AntiAlias { [Android.Runtime.Register("isAntiAlias", "()Z", "")] get; [Android.Runtime.Register("setAntiAlias", "(Z)V", "GetSetAntiAlias_ZHandler")] set; }
[<get: Android.Runtime.Register("isAntiAlias", "()Z", "")>]
[<set: Android.Runtime.Register("setAntiAlias", "(Z)V", "GetSetAntiAlias_ZHandler")>]
member this.AntiAlias : bool with get, set

Property Value

true if the antialias bit is set in the paint's flags.

Attributes

Remarks

Property getter documentation:

Helper for getFlags(), returning true if ANTI_ALIAS_FLAG bit is set AntiAliasing smooths out the edges of what is being drawn, but is has no impact on the interior of the shape. See setDither() and setFilterBitmap() to affect how colors are treated.

Java documentation for android.graphics.Paint.isAntiAlias().

Property setter documentation:

Helper for setFlags(), setting or clearing the ANTI_ALIAS_FLAG bit AntiAliasing smooths out the edges of what is being drawn, but is has no impact on the interior of the shape. See setDither() and setFilterBitmap() to affect how colors are treated.

Java documentation for android.graphics.Paint.setAntiAlias(boolean).

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