Added in API level 1
EmbossMaskFilter
open class EmbossMaskFilter : MaskFilter
kotlin.Any | ||
↳ | android.graphics.MaskFilter | |
↳ | android.graphics.EmbossMaskFilter |
Summary
Public constructors | |
---|---|
EmbossMaskFilter(direction: FloatArray!, ambient: Float, specular: Float, blurRadius: Float) Create an emboss maskfilter |
Inherited functions | |
---|---|
Public constructors
EmbossMaskFilter
Added in API level 1
EmbossMaskFilter(
direction: FloatArray!,
ambient: Float,
specular: Float,
blurRadius: Float)
Deprecated: This subclass is not supported and should not be instantiated.
Create an emboss maskfilter
Parameters | |
---|---|
direction |
FloatArray!: array of 3 scalars [x, y, z] specifying the direction of the light source |
ambient |
Float: 0...1 amount of ambient light |
specular |
Float: coefficient for specular highlights (e.g. 8) |
blurRadius |
Float: amount to blur before applying lighting (e.g. 3) |
Return | |
---|---|
the emboss maskfilter |