fill & stroke

- (void)stroke

Draws a line along the receiver’s path using the current drawing properties.

 

- (void)fill

 

Paints the region enclosed by the receiver’s path using the current drawing properties.

 

This method fills the path using the current fill color and drawing properties. If the path contains any open subpaths, this method implicitly closes them before painting the fill region.

The painted region includes the pixels right up to, but not including, the path line itself.

posted @ 2019-01-30 17:21  zzfx  阅读(404)  评论(0编辑  收藏  举报