Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between stroke and fill?

What's the difference between Stroke and Fill drawing in graphics context (iPhone SDK)

like image 862
LB. Avatar asked Nov 08 '10 15:11

LB.


People also ask

What is the difference between fill and stroke in Illustrator?

Stroke and Fill ToolsA fill is a color, pattern, or gradient inside an object. You can apply fills to open and closed objects and to faces of Live Paint groups. A stroke can be the visible outline of an object, a path, or the edge of a Live Paint group.

What is the difference and similarity between stroke and fill?

Stroke is line drawing, Fill is "colouring in" (for want of a better term). So in the case of a shape (like a circle), the stroke is the border (circumference) and the fill is the body (interior).

What is fill stroke tool?

The Fill and Stroke tool lets you add colors, patterns, or gradients inside an object or on its outline. Select the object using the Selection tool or the Direct Selection tool . Click the Fill and Stroke tool in the toolbar, the Properties panel, the Control panel or the Color panel.


2 Answers

Stroke is line drawing, Fill is "colouring in" (for want of a better term).

So in the case of a shape (like a circle), the stroke is the border (circumference) and the fill is the body (interior).

alt text

like image 188
ChrisF Avatar answered Sep 30 '22 00:09

ChrisF


Stroke only draws stuff on the border of the path.

Fill only draws stuff in the interior of the path.

alt text

like image 39
kennytm Avatar answered Sep 30 '22 00:09

kennytm