What is the alternative in Harmony OS for shadow in TextView (Android)? #24
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
Query
HarmonyOS API/Functionality Query
Describe the query
I am writing a custom component that displays text on the screen using JAVA SDK. I want to set a shadow on the text that this component renders like setting shadowRadius, shadowColor, shadowDx, shadowDy and also get these values that have been set.
In Android, we have setShadowLayer(float, float, float, int), getShadowColor(), getShadowDx(), getShadowDy() and getShadowRadius() method in TextView which does that for us.
What is the alternative for the above in Harmony OS?
Create the query with harmonyos tag in stackoverflow and share the link here:
https://stackoverflow.com/questions/68569973/what-is-the-alternative-in-harmony-os-for-shadow-in-textview-android
Additional information
Developer Platform: Windows
DevEco Studio version: 2.1.0.303
SDK API version: 5
SDK version: 2.1.1.21
Device: Not Required
Device OS version: Not Required
Regards,
Subham
The text was updated successfully, but these errors were encountered: