Udostępnij za pośrednictwem


Paint.ColorLong Property

Definition

Return the paint's color.

public virtual long ColorLong { [Android.Runtime.Register("getColorLong", "()J", "GetGetColorLongHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getColorLong", "()J", "GetGetColorLongHandler", ApiSince=29)>]
member this.ColorLong : int64

Property Value

the paint's color, alpha, and ColorSpace encoded as a ColorLong

Attributes

Remarks

Return the paint's color. Note that the color is a long with an encoded ColorSpace as well as alpha and r,g,b. These values are not premultiplied, meaning that alpha can be any value, regardless of the values of r,g,b. See the Color class for more details.

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

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