1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- XML file produced from file: manual.tex
using Hyperlatex v 2.6 (c) Otfried Cheong
on Emacs 21.4.1, Sun Dec 24 00:03:19 2006 -->
<head>
<title>Ipe Manual -- 4.4 Stroke and fill colors</title>
<style type="text/css">
.maketitle { align : center }
div.abstract { margin-left: 20%; margin-right: 10%; }
h3.abstract { align : center }
div.verse, div.quote, div.quotation {
margin-left : 10%;
margin-right : 10%;
}
</style>
<meta http-equiv="Content-Type"
content="text/html; charset=UTF-8">
</head>
<body bgcolor="#ffffe6">
<table width="100%" cellpadding=0 cellspacing=2><tr><td bgcolor="#99ccff"><a href="manual_9.html"><img border="0" alt="4.5 Line width, line dash pattern, and arrows" src="next.png"></a></td><td bgcolor="#99ccff"><a href="manual_4.html"><img border="0" alt="4 General Concepts" src="up.png"></a></td><td bgcolor="#99ccff"><a href="manual_7.html"><img border="0" alt="4.3 Moving and scaling objects" src="previous.png"></a></td><td align="center" bgcolor="#99ccff" width="100%"><b>4.4 Stroke and fill colors</b></td></tr></table>
<h2>4.4 Stroke and fill colors</h2>
<p>
Most Ipe objects can have two different colors, one for the boundary
and one for the interior of the object. The Postscript terms
<em>stroke</em> and <em>fill</em> are used to denote these two colors.
Stroke and fill color can be selected independently in the
<em>Properties</em> window. Imagine preparing a drawing by hand, using
a pen and black ink. What Ipe draws in its <em>stroke</em> color is what
you would stroke in black ink with your pen. Probably you would not
use your pen to fill objects, but you would use a brush, and maybe
even a different kind of paint like water color. Well, the <em>fill</em>
color is Ipe's "brush".
<p><a name="id1">
This</A> explains why text objects, mark objects, and arrows only use the
stroke color, even for the filled marks (discs and squares) and filled
arrows. You would also use a pen for these details, not the brush
(unless you draw very large marks--in which case you probably meant to
draw a filled <em>circle</em> anyway). (But Ipe does obey the fill color
for the "hollow" marks, that is marks of type <em>circle</em> and
<em>box</em>, so that you can easily make bicolored marks.)
<p>If you set the fill color to be <em>void</em>, no interior will be
drawn, just the outline. To achieve the opposite (filling a path
without drawing its outline, set the <em>line style</em> to void.
<p>If you create a path with arrows, and set the line style to void, the
arrows will be still be drawn with the stroke color. This is useful to
create arrowheads without body, which can be used to be attached to
objects that cannot have arrows.
<hr />
<table width="100%" cellpadding=0 cellspacing=2><tr><td bgcolor="#99ccff"><a href="manual_9.html"><img border="0" alt="4.5 Line width, line dash pattern, and arrows" src="next.png"></a></td><td bgcolor="#99ccff"><a href="manual_4.html"><img border="0" alt="4 General Concepts" src="up.png"></a></td><td bgcolor="#99ccff"><a href="manual_7.html"><img border="0" alt="4.3 Moving and scaling objects" src="previous.png"></a></td><td align="center" bgcolor="#99ccff" width="100%"><b>4.4 Stroke and fill colors</b></td></tr></table></body></html>
|