13.07.2015 Views

iReport Ultimate Guide - Nimsoft Library

iReport Ultimate Guide - Nimsoft Library

iReport Ultimate Guide - Nimsoft Library

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>iReport</strong> <strong>Ultimate</strong> <strong>Guide</strong>pen is used to draw a shape (or just the borders of the element in case of images). This property is edited with the Pen dialog(see Figure 5-13).Figure 5-13Pen DefinitionIt is possible to set a particular line width (a zero line width means that no lines will be painted) and choose between 4 differentstyles: normal, dashed, dotted and double.By default, the color used to paint the lines is the element foreground color, but it is possible to override that value byspecifying a different value. To reset the color the default value you need to reset the whole pen right clicking the Pen item inthe property sheet and selecting Restore Default Value.The default values for the pen (like for many other common element properties) depend on the specific element. Lines,rectangles and ellipses have a default width of 1 pixel, while for images the default line width is zero.The Fill property has a single possible value: Solid.5.1.5.1 LineIn UR, a line is defined by a rectangle for which the line represents the diagonal (see Figure 5-14).Figure 5-14Line element of type top-downThe line is drawn using the pen settings. If they are not set, the foreground color is used as the default color and a normal 1-pixel-width line is used as the line style.The only specific property of a line is the Line direction, used to indicate which of the two rectangle diagonals representsthe line; the possible values are Top Down and Bottom Up.74

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!