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?