SweepGradient

  • Common/All
  • Android/JVM

Brush implementation used to apply a sweep gradient on a given Paint

Summary

Public functions

open Shader
Cmn
open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn
open String
Cmn

Inherited functions

final Unit
applyTo(size: Size, p: Paint, alpha: Float)
Cmn
Unit
transform(matrix: Matrix?)

Sets a transformation matrix for the shader.

Cmn

Inherited properties

open Size

Return the intrinsic size of the Brush.

Cmn

Public functions

createShader

open fun createShader(size: Size): Shader

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String