question: @ Override public int calculateOffsetX ( ) { return ( int ) ( Math . cos ( this . angle ) * this . distance ) - this . shadowSize ; }
target:  Calculates the x-offset for drawing the shadow image relative to the source.