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
|
<?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.3.1, Mon Nov 22 10:30:48 2004 -->
<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.
They can be selected independently in the <em>Color</em> toolbar. You
can also set stroke and fill to be <em>void</em>. A void stroke color
means that no outline of the object is drawn, a void fill color means
that no interior will be drawn. Setting both colors to void will
render an object invisible. 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).
<p>An interesting exception to the above rules are lines with arrows. If
a line with an arrow has stroke color <em>void</em>, the arrow will be
drawn with the fill color, and the line will not be drawn at all. 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>
|