Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class BitmapPaint(val bitmap: Bitmap, val transform: Matrix = Matrix.IDENTITY, val cycleX: CycleMethod = CycleMethod.NO_CYCLE, val cycleY: CycleMethod = CycleMethod.NO_CYCLE, val smooth: Boolean = true, val units: GradientUnits = GradientUnits.OBJECT_BOUNDING_BOX) : TransformedPaint
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class GradientPaint(val kind: GradientKind, val x0: Double, val y0: Double, val r0: Double, val x1: Double, val y1: Double, val r1: Double, val stops: DoubleArrayList = DoubleArrayList(), val colors: IntArrayList = IntArrayList(), val cycle: CycleMethod = CycleMethod.NO_CYCLE, val transform: Matrix = Matrix.IDENTITY, val interpolationMethod: GradientInterpolationMethod = GradientInterpolationMethod.NORMAL, val units: GradientUnits = GradientUnits.OBJECT_BOUNDING_BOX, val startAngle: Angle = Angle.ZERO) : TransformedPaint
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Properties
Functions
Link copied to clipboard
Link copied to clipboard
inline fun LinearGradientPaint(x0: Number, y0: Number, x1: Number, y1: Number, cycle: CycleMethod = CycleMethod.NO_CYCLE, transform: Matrix = Matrix.IDENTITY, block: GradientPaint.() -> Unit = {}): GradientPaint
Link copied to clipboard
inline fun RadialGradientPaint(x0: Number, y0: Number, r0: Number, x1: Number, y1: Number, r1: Number, cycle: CycleMethod = CycleMethod.NO_CYCLE, transform: Matrix = Matrix.IDENTITY, block: GradientPaint.() -> Unit = {}): GradientPaint
Link copied to clipboard
inline fun SweepGradientPaint(x0: Number, y0: Number, startAngle: Angle = Angle.ZERO, transform: Matrix = Matrix.IDENTITY, block: GradientPaint.() -> Unit = {}): GradientPaint
Link copied to clipboard
Link copied to clipboard
fun Bitmap.toPaint(transform: Matrix = Matrix.IDENTITY, cycleX: CycleMethod = CycleMethod.NO_CYCLE, cycleY: CycleMethod = CycleMethod.NO_CYCLE, smooth: Boolean = true, units: GradientUnits = GradientUnits.OBJECT_BOUNDING_BOX): BitmapPaint
Link copied to clipboard