Quantcast
Channel: Adobe Community : Popular Discussions - PDF Language and Specifications
Viewing all articles
Browse latest Browse all 46145

Fill and stroke a rectangle

$
0
0

Hello.

When I write the following text, adobe reader displays a red rectangle with a black border.

 

10 w

100 100 200 150 re

1 0 0 rg   %red fill

0 0 0 RG   %black stroke


but when i use operators f and S the red rectangle is displayed without the border.

 

10 w

100 100 200 150 re

1 0 0 rg  %red fill

f

0 0 0 RG  %black stroke

S


 

From a pdf reader perspective why in the second example the border is not displayed?

Isn't  f+S=B ?

 

Thank You.


Viewing all articles
Browse latest Browse all 46145

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>