Stay organized with collections
Save and categorize content based on your preferences.
EmbossMaskFilter
open class EmbossMaskFilter : MaskFilter
Summary
Public constructors |
Create an emboss maskfilter
|
Public constructors
EmbossMaskFilter
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 |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# EmbossMaskFilter\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nEmbossMaskFilter\n================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/graphics/EmbossMaskFilter \"View this page in Java\") \n\n```\nopen class EmbossMaskFilter : MaskFilter\n```\n\n|---|---|----------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||\n| ↳ | [android.graphics.MaskFilter](/reference/kotlin/android/graphics/MaskFilter) ||\n| | ↳ | [android.graphics.EmbossMaskFilter](#) |\n\nSummary\n-------\n\n| Public constructors ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [EmbossMaskFilter](#EmbossMaskFilter(kotlin.FloatArray,%20kotlin.Float,%20kotlin.Float,%20kotlin.Float))`(`direction:` `[FloatArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float-array/index.html)!`, `ambient:` `[Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html)`, `specular:` `[Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html)`, `blurRadius:` `[Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html)`)` Create an emboss maskfilter |\n\n| Inherited functions ||\n|---|---|\n| From class [MaskFilter](/reference/kotlin/android/graphics/MaskFilter) |------------------------------------------------------------------------------|---------------------------------------------------------------------------------| | [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [finalize](/reference/kotlin/android/graphics/MaskFilter#finalize())`()` \u003cbr /\u003e | ||\n\nPublic constructors\n-------------------\n\n### EmbossMaskFilter\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nEmbossMaskFilter(\n direction: FloatArray!, \n ambient: Float, \n specular: Float, \n blurRadius: Float)\n```\n\n**Deprecated:** *This subclass is not supported and should not be instantiated.*\n\nCreate an emboss maskfilter\n\n| Parameters ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `direction` | [FloatArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float-array/index.html)!: array of 3 scalars \\[x, y, z\\] specifying the direction of the light source |\n| `ambient` | [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html): 0...1 amount of ambient light |\n| `specular` | [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html): coefficient for specular highlights (e.g. 8) |\n| `blurRadius` | [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html): amount to blur before applying lighting (e.g. 3) |\n\n| Return ||\n|---|-----------------------|\n| | the emboss maskfilter |"]]