getGradientForEdge

@Nullable
open fun getGradientForEdge(isTop: Boolean): @Nullable Shader

Returns the active gradient shader for the top or bottom edge.