Use setSize directly.
Set the size of this edge effect in pixels.
Effect width in pixels
Effect height in pixels