@Override public int calculateOffsetX(){
  return (int)(Math.cos(this.angle) * this.distance) - this.shadowSize;
}

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