Across: The gradient is applied across the width of the stroke.Within: It behaves as if the stroke has been expanded to a filled object with a gradient.You don’t need to expand the stroke first to fill it and then apply a gradient. Adobe Illustrator CS6 introduces a feature which allows three types of gradient on the stroke.