共用方式為


Paint.Flags Property

Definition

Return the paint's flags. -or- Set the paint's flags.

public virtual Android.Graphics.PaintFlags Flags { [Android.Runtime.Register("getFlags", "()I", "GetGetFlagsHandler")] get; [Android.Runtime.Register("setFlags", "(I)V", "GetSetFlags_IHandler")] set; }
[<get: Android.Runtime.Register("getFlags", "()I", "GetGetFlagsHandler")>]
[<set: Android.Runtime.Register("setFlags", "(I)V", "GetSetFlags_IHandler")>]
member this.Flags : Android.Graphics.PaintFlags with get, set

Property Value

the paint's flags (see enums ending in _Flag for bit masks)

Attributes

Remarks

Property getter documentation:

Return the paint's flags. Use the Flag enum to test flag values.

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

Property setter documentation:

Set the paint's flags. Use the Flag enum to specific flag values.

Java documentation for android.graphics.Paint.setFlags(int).

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