getShadowRight

open fun getShadowRight(shadowSize: Float, shadowDx: Float): Int

Return

Shadow applied to the right side of the element.

Parameters

shadowSize
shadowDx

Light source offset applied horizontally, i.e. if shadowDx is 0, the shadows on the left and right sides are both equal to shadowSize. If shadowDx is positive, the light source moves to the left side, hence left shadow is decreased by shadowDx while right shadow is increased by shadowDx. If shadowDx is negative, light source moves to the right side and left and right shadows are adjusted accordingly.


open fun getShadowRight(shadowSize: Float): Int

Return

Shadow applied to the right side of the element. Shadow offset is 0.

Parameters

shadowSize