Google is committed to advancing racial equity for Black communities. See how.

AndroidPaint

class AndroidPaint : Paint
kotlin.Any
   ↳ androidx.compose.ui.graphics.AndroidPaint

Summary

Public constructors

Public methods
NativePaint

Properties
Float

BlendMode

Color

ColorFilter?

FilterQuality

Boolean

NativePathEffect?

Shader?

StrokeCap

StrokeJoin

Float

Float

PaintingStyle

Public constructors

<init>

AndroidPaint()

Public methods

asFrameworkPaint

fun asFrameworkPaint(): NativePaint

Properties

alpha

var alpha: Float

blendMode

var blendMode: BlendMode

color

var color: Color

colorFilter

var colorFilter: ColorFilter?

filterQuality

var filterQuality: FilterQuality

isAntiAlias

var isAntiAlias: Boolean

nativePathEffect

var nativePathEffect: NativePathEffect?

shader

var shader: Shader?

strokeCap

var strokeCap: StrokeCap

strokeJoin

var strokeJoin: StrokeJoin

strokeMiterLimit

var strokeMiterLimit: Float

strokeWidth

var strokeWidth: Float

style

var style: PaintingStyle