Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Fill above a single wave line

New Here ,
Jul 14, 2021 Jul 14, 2021

Hi

 

I''ve created a single wave line via the zig zag tool in a 1000px*20px document. Now I want to fill the area above the curve with a color. When I chose wave size 10 and 45 Waves per Segment I could just fill and got an acceptable result with the only caveat that the very top was not filled.

 

Bildschirmfoto 2021-07-14 um 12.54.38.png

 

When I switched to 30 Waves per Segment unfortunately the filling went full incomprehensibly crooked on me. 

 

Bildschirmfoto 2021-07-14 um 12.32.42.png

 

It would be super fantastic if somebody could show the right way to fully fill the top of the wave:-)

285
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Jul 14, 2021 Jul 14, 2021

The way you've done it because the end point is at the bottom and the start point is at the top this is why you get the result on the second example. On your first both start and end points are set to the top and therefore works.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 14, 2021 Jul 14, 2021

sishamIAGD is correct - the way the fill is applied to the zig-zag depends on whether you've chosen an even or odd number of ridges per segment.

 

If you want the fill to be above the top of the waves, you might try this method:

 

tromboniator_0-1626264371282.png

Peter

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 14, 2021 Jul 14, 2021
LATEST

At 30 , one end of the line is at the top and the 0ther at the bottom, it just fills between the start and the end.

The top not totally being filled is correct, it fills to the center of the linewidth. In your case 1 point, so 0,5 point sticks out.

With a single line you cannot align the stroke to the inside.

But you can create a variable width profile that offsets the stroke to the bottom.

stroke.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines